diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-01 18:08:51 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-01 18:08:51 +0000 |
commit | bd4811c189b24994bbd7802a9f26b1cb820d65bd (patch) | |
tree | 70a27155a212d6edee91759f650ea42b244c8bb4 /main/cli.c | |
parent | 5e51fc577edc8ebab3b059ae569f2d5a456969a8 (diff) |
(closes issue #10351)
Reported by: ftarz
Some platforms don't like it when you pass NULL to vsnprintf so pass "" instead.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77871 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c index 57093319e..1d3a7b94b 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1743,7 +1743,7 @@ static int help1(int fd, char *match[], int locked) continue; if (match && strncasecmp(matchstr, e->_full_cmd, len)) 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++; } AST_LIST_UNLOCK(&helpers); |