mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
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:
4
pbx.c
4
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++;
|
||||
|
Reference in New Issue
Block a user