pjsip_scheduler: Fix pjsip show scheduled_tasks like for compiler Clang.

Otherwise, Clang 10 warned because of logical-not-parentheses.

Change-Id: Ia8fb493f727b08070eb2dcf520c08df34ed11d79
pull/23/head
Alexander Traud 4 years ago committed by Joshua Colp
parent df6afadf26
commit 10a0a0c59b

@ -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(&regex, a->argv[4], REG_EXTENDED | REG_ICASE | REG_NOSUB);

Loading…
Cancel
Save