[svn-commits] mmichelson: trunk r104127 - /trunk/main/features.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 26 08:51:21 CST 2008


Author: mmichelson
Date: Tue Feb 26 08:51:21 2008
New Revision: 104127

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104127
Log:
Remove more hardcoded pipe symbols and replace with commas.


(closes issue #12072)
Reported by: SimonSharman
Patches:
      features.patch uploaded by SimonSharman (license 410)
Tested by: SimonSharman


Modified:
    trunk/main/features.c

Modified: trunk/main/features.c
URL: http://svn.digium.com/view/asterisk/trunk/main/features.c?view=diff&rev=104127&r1=104126&r2=104127
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Tue Feb 26 08:51:21 2008
@@ -694,7 +694,7 @@
 			args = alloca(len);
 			touch_filename = alloca(len);
 			snprintf(touch_filename, len, "%s-%ld-%s", S_OR(touch_monitor_prefix, "auto"), (long)time(NULL), touch_monitor);
-			snprintf(args, len, "%s|%s|m", S_OR(touch_format, "wav"), touch_filename);
+			snprintf(args, len, "%s,%s,m", S_OR(touch_format, "wav"), touch_filename);
 		} 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));
@@ -702,7 +702,7 @@
 			args = alloca(len);
 			touch_filename = alloca(len);
 			snprintf(touch_filename, len, "%s-%ld-%s-%s", S_OR(touch_monitor_prefix, "auto"), (long)time(NULL), caller_chan_id, callee_chan_id);
-			snprintf(args, len, "%s|%s|m", S_OR(touch_format, "wav"), touch_filename);
+			snprintf(args, len, "%s,%s,m", S_OR(touch_format, "wav"), touch_filename);
 		}
 
 		for(x = 0; x < strlen(args); x++) {




More information about the svn-commits mailing list