more tab completion cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15977 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-12-15 23:05:49 +00:00
parent e240bd9fac
commit 86304c0247
4 changed files with 66 additions and 6 deletions
+1 -1
View File
@@ -3698,7 +3698,7 @@ static switch_status_t list_profile_gateway(const char *line, const char *cursor
dup = strdup(line);
argc = switch_split(dup, ' ', argv);
if (!argv[2]) {
if (zstr(argv[2]) || !strcmp(argv[2], " ")) {
goto end;
}