From: Anthony Minessale Date: Fri, 5 Oct 2012 18:46:57 +0000 (-0500) Subject: FS-4650 please try to use an up to date gcc when doing new dev to catch build errs... X-Git-Tag: v1.3.0~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e9912f8bf82a22828e858747a231b5a19ec9eb;p=thirdparty%2Ffreeswitch.git FS-4650 please try to use an up to date gcc when doing new dev to catch build errs. This is what I get for the one time I did not compile test --- diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index f3fad29e43..5923860507 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -285,7 +285,7 @@ SWITCH_STANDARD_API(list_users_function) int32_t arg = 0; switch_xml_t xml_root, x_domains, x_domain_tag; switch_xml_t gts, gt, uts, ut; - char *_user = NULL, *_domain = NULL, *_search_context = NULL, *_group = NULL; + char *_user = NULL, *_domain = NULL, *_group = NULL; if ((pdata = strdup(cmd))) { @@ -303,9 +303,7 @@ SWITCH_STANDARD_API(list_users_function) if (!strcasecmp(argv[arg], "domain")) { _domain = argv[arg + 1]; } - if (!strcasecmp(argv[arg], "context")) { - _search_context = argv[arg + 1]; - } + if (!strcasecmp(argv[arg], "group")) { _group = argv[arg + 1]; }