aboutsummaryrefslogtreecommitdiffstats
path: root/app.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-29 13:24:10 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-29 13:24:10 +0000
commitafddd8f76f3d1bd9a22c75be15a403528e3a905e (patch)
tree1deff82a746d9f9ee018f0debf45bff38166e5f7 /app.c
parentf4cfc00ddaafedf246c288bae1736e43d2382326 (diff)
Fix anthm formatting (bug #3013)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4588 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'app.c')
-rwxr-xr-xapp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/app.c b/app.c
index c910605c5..16b20dec9 100755
--- a/app.c
+++ b/app.c
@@ -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;
}