diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-11 20:20:40 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-11 20:20:40 +0000 |
commit | b8c095ac66c7e0e5162c765689b951e4f6ca6b50 (patch) | |
tree | 3b0630b07ea006482bedd4d34238c1d743fc8407 /cli.c | |
parent | dbd3b478a5700f8c78294bffc4d3471f9c272024 (diff) |
fix command listing for top level CLI commands (issue #5416)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6740 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rwxr-xr-x | cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -949,7 +949,7 @@ static void join(char *dest, size_t destsize, char *w[], int tws) strncat(dest, " ", destsize - strlen(dest) - 1); strncat(dest, w[x], destsize - strlen(dest) - 1); } - if (tws) + if (tws && !ast_strlen_zero(dest)) strncat(dest, " ", destsize - strlen(dest) - 1); } |