mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-29 23:39:35 +00:00
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:
committed by
Joshua Colp
parent
3f119192bb
commit
a25bcf70ed
@@ -517,7 +517,7 @@ static char *cli_show_tasks(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
|
|||||||
|
|
||||||
if (a->argc == 5) {
|
if (a->argc == 5) {
|
||||||
int regrc;
|
int regrc;
|
||||||
if (!strcasecmp(a->argv[3], "like") == 0) {
|
if (strcasecmp(a->argv[3], "like")) {
|
||||||
return CLI_SHOWUSAGE;
|
return CLI_SHOWUSAGE;
|
||||||
}
|
}
|
||||||
regrc = regcomp(®ex, a->argv[4], REG_EXTENDED | REG_ICASE | REG_NOSUB);
|
regrc = regcomp(®ex, a->argv[4], REG_EXTENDED | REG_ICASE | REG_NOSUB);
|
||||||
|
|||||||
Reference in New Issue
Block a user