aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-15 22:06:15 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-15 22:06:15 +0000
commit63a6a077da4d1e6d4ec3c48b0d3bacccdbc958f2 (patch)
tree72a1219d1b5eeaaa08f28862bb67263d906f91ce /pbx.c
parent467a58ed8f736f6233266937ee24625da783c9c2 (diff)
phase two of string portability stuff:
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx.c b/pbx.c
index f3360babc..3d1d002ff 100755
--- a/pbx.c
+++ b/pbx.c
@@ -3104,7 +3104,7 @@ static int handle_show_applications(int fd, int argc, char *argv[])
int printapp=0;
total_apps++;
if (like) {
- if (ast_strcasestr(a->name, argv[3])) {
+ if (strcasestr(a->name, argv[3])) {
printapp = 1;
total_match++;
}
@@ -3114,7 +3114,7 @@ static int handle_show_applications(int fd, int argc, char *argv[])
int i;
printapp = 1;
for (i=3;i<argc;i++) {
- if (! ast_strcasestr(a->description, argv[i])) {
+ if (!strcasestr(a->description, argv[i])) {
printapp = 0;
} else {
total_match++;