mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 19:38:22 +00:00
(closes issue #10351)
Reported by: ftarz Some platforms don't like it when you pass NULL to vsnprintf so pass "" instead. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@77871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1743,7 +1743,7 @@ static int help1(int fd, char *match[], int locked)
|
|||||||
continue;
|
continue;
|
||||||
if (match && strncasecmp(matchstr, e->_full_cmd, len))
|
if (match && strncasecmp(matchstr, e->_full_cmd, len))
|
||||||
continue;
|
continue;
|
||||||
ast_cli(fd, "%25.25s %s\n", e->_full_cmd, e->summary);
|
ast_cli(fd, "%25.25s %s\n", e->_full_cmd, S_OR(e->summary, ""));
|
||||||
found++;
|
found++;
|
||||||
}
|
}
|
||||||
AST_LIST_UNLOCK(&helpers);
|
AST_LIST_UNLOCK(&helpers);
|
||||||
|
|||||||
Reference in New Issue
Block a user