[Asterisk-cvs] asterisk app.c,1.36,1.37

markster at lists.digium.com markster at lists.digium.com
Wed Dec 29 08:29:22 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv19031

Modified Files:
	app.c 
Log Message:
Fix anthm formatting (bug #3013)


Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- app.c	29 Dec 2004 13:06:52 -0000	1.36
+++ app.c	29 Dec 2004 13:24:10 -0000	1.37
@@ -1073,15 +1073,15 @@
 
 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;
 }




More information about the svn-commits mailing list