[svn-commits] file: branch 1.4 r77871 - /branches/1.4/main/cli.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 1 13:08:51 CDT 2007
Author: file
Date: Wed Aug 1 13:08:51 2007
New Revision: 77871
URL: http://svn.digium.com/view/asterisk?view=rev&rev=77871
Log:
(closes issue #10351)
Reported by: ftarz
Some platforms don't like it when you pass NULL to vsnprintf so pass "" instead.
Modified:
branches/1.4/main/cli.c
Modified: branches/1.4/main/cli.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cli.c?view=diff&rev=77871&r1=77870&r2=77871
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Wed Aug 1 13:08:51 2007
@@ -1743,7 +1743,7 @@
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);
More information about the svn-commits
mailing list