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:
Alexander Traud 2021-01-15 10:33:47 +01:00 committed by Joshua Colp
parent 3b1cab26a5
commit 6915106cc1
1 changed files with 1 additions and 1 deletions

View File

@ -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);