ftmod_pritap: Use strcmp() for "none" and "all" in parse_debug()
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
parent
fe4d5748c6
commit
42bb1040de
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue