[svn-commits] eliel: branch eliel/appdelim r181302 - /team/eliel/appdelim/main/features.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 11 12:06:43 CDT 2009


Author: eliel
Date: Wed Mar 11 12:06:40 2009
New Revision: 181302

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=181302
Log:
Modify features to avoid using the hardcoded ',' delimiter.

Modified:
    team/eliel/appdelim/main/features.c

Modified: team/eliel/appdelim/main/features.c
URL: http://svn.digium.com/svn-view/asterisk/team/eliel/appdelim/main/features.c?view=diff&rev=181302&r1=181301&r2=181302
==============================================================================
--- team/eliel/appdelim/main/features.c (original)
+++ team/eliel/appdelim/main/features.c Wed Mar 11 12:06:40 2009
@@ -1165,7 +1165,7 @@
 			args = alloca(len);
 			touch_filename = alloca(len);
 			snprintf(touch_filename, len, "auto-%ld-%s", (long)time(NULL), touch_monitor);
-			snprintf(args, len, "%s.%s,b", touch_filename, (touch_format) ? touch_format : "wav");
+			snprintf(args, len, "%s.%s%sb", touch_filename, (touch_format) ? touch_format : "wav", AST_STANDARD_APP_DELIM);
 		} else {
 			caller_chan_id = ast_strdupa(S_OR(caller_chan->cid.cid_num, caller_chan->name));
 			callee_chan_id = ast_strdupa(S_OR(callee_chan->cid.cid_num, callee_chan->name));
@@ -1173,7 +1173,7 @@
 			args = alloca(len);
 			touch_filename = alloca(len);
 			snprintf(touch_filename, len, "auto-%ld-%s-%s", (long)time(NULL), caller_chan_id, callee_chan_id);
-			snprintf(args, len, "%s.%s,b", touch_filename, S_OR(touch_format, "wav"));
+			snprintf(args, len, "%s.%s%sb", touch_filename, S_OR(touch_format, "wav"), AST_STANDARD_APP_DELIM);
 		}
 
 		for( x = 0; x < strlen(args); x++) {




More information about the svn-commits mailing list