diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-30 19:04:00 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-30 19:04:00 +0000 |
commit | ec641e6d2649379ef7ea2fa94bc3db2437334f0a (patch) | |
tree | 4b710a5c262b210ec50177318d725cfae41cbf60 /cli.c | |
parent | 023547997a1cba14952540294e95b757f53d8dfc (diff) |
Little revert on some CLI stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@939 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rwxr-xr-x | cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -873,7 +873,7 @@ static char *__ast_cli_generator(char *text, char *word, int state, int lock) if (lock) ast_pthread_mutex_unlock(&clilock); free(dup); - return res ? res : NULL; + return res ? strdup(res) : NULL; } } } |