mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-07 23:29:20 -07:00
Fixing a segfault from tab-completing a "zap restart" CLI command.
(patch made by seanbright, pointed out in #asterisk-dev on IRC) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10891,6 +10891,8 @@ static char *zap_restart_cmd(struct ast_cli_entry *e, int cmd, struct ast_cli_ar
|
||||
" Note that this will STOP any running CALL on zaptel channels.\n"
|
||||
"";
|
||||
return NULL;
|
||||
case CLI_GENERATE:
|
||||
return NULL;
|
||||
}
|
||||
if (a->argc != 2)
|
||||
return CLI_SHOWUSAGE;
|
||||
|
||||
Reference in New Issue
Block a user