pjsip_scheduler: Fix pjsip show scheduled_tasks like for compiler Clang.
Otherwise, Clang 10 warned because of logical-not-parentheses. Change-Id: Ia8fb493f727b08070eb2dcf520c08df34ed11d79
This commit is contained in:
parent
3b1cab26a5
commit
6915106cc1
|
@ -517,7 +517,7 @@ static char *cli_show_tasks(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
|
|||
|
||||
if (a->argc == 5) {
|
||||
int regrc;
|
||||
if (!strcasecmp(a->argv[3], "like") == 0) {
|
||||
if (strcasecmp(a->argv[3], "like")) {
|
||||
return CLI_SHOWUSAGE;
|
||||
}
|
||||
regrc = regcomp(®ex, a->argv[4], REG_EXTENDED | REG_ICASE | REG_NOSUB);
|
||||
|
|
Loading…
Reference in New Issue