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: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-07-15 22:06:15 +00:00
parent da1d0363ca
commit 9d8d86e19d
8 changed files with 75 additions and 40 deletions

4
pbx.c
View File

@@ -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++;