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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(in, "all")) {
|
if (!strcmp(in, "none")) {
|
||||||
return PRI_DEBUG_ALL;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(in, "none")) {
|
if (!strcmp(in, "all")) {
|
||||||
return 0;
|
return PRI_DEBUG_ALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(in, "q921_all")) {
|
if (strstr(in, "q921_all")) {
|
||||||
|
|
Loading…
Reference in New Issue