fix obvious fault in ast_separate_app_args

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-05-04 15:26:03 +00:00
parent 6f118fe66a
commit ba9b384f58

3
app.c
View File

@@ -1090,7 +1090,8 @@ int ast_separate_app_args(char *buf, char delim, char **array, int arraylen)
break;
}
array[x++] = scan;
if (scan)
array[x++] = scan;
return x;
}