mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
ftmod_pritap: Use strcmp() for "none" and "all" in parse_debug()
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
1 parent
fe4d5748c6
commit
42bb1040de
1 file changed
+4
-4
@@ -132,12 +132,12 @@ static int parse_debug(const char *in)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (strstr(in, "all")) {
|
||||
return PRI_DEBUG_ALL;
|
||||
if (!strcmp(in, "none")) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (strstr(in, "none")) {
|
||||
return 0;
|
||||
if (!strcmp(in, "all")) {
|
||||
return PRI_DEBUG_ALL;
|
||||
}
|
||||
|
||||
if (strstr(in, "q921_all")) {
|
||||
|
||||
Reference in new issue
Block a user