Skip to content
Snippets Groups Projects
Commit 176b1061 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix anthm formatting (bug #3013)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 118b4767
No related branches found
No related tags found
No related merge requests found
......@@ -1073,15 +1073,15 @@ int ast_app_group_match_get_count(char *groupmatch, char *category)
int ast_seperate_app_args(char *buf, char delim, char **array, int arraylen)
{
int x = 0;
memset(array, 0, arraylen * sizeof(char *));
int x = 0;
memset(array, 0, arraylen * sizeof(char *));
if (!buf)
return 0;
for (array[x] = buf ; x < arraylen && array[x]; x++) {
if ((array[x+1] = strchr(array[x], delim))) {
*array[x+1] = '\0';
array[x+1]++;
}
}
for (array[x] = buf ; x < arraylen && array[x]; x++) {
if ((array[x+1] = strchr(array[x], delim))) {
*array[x+1] = '\0';
array[x+1]++;
}
}
return x;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment