[asterisk-commits] pabelanger: branch 1.8 r356335 - /branches/1.8/apps/app_rpt.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 22 15:29:29 CST 2012


Author: pabelanger
Date: Wed Feb 22 15:29:25 2012
New Revision: 356335

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=356335
Log:
Add back strsep() function for previous commit

Modified:
    branches/1.8/apps/app_rpt.c

Modified: branches/1.8/apps/app_rpt.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_rpt.c?view=diff&rev=356335&r1=356334&r2=356335
==============================================================================
--- branches/1.8/apps/app_rpt.c (original)
+++ branches/1.8/apps/app_rpt.c Wed Feb 22 15:29:25 2012
@@ -5912,6 +5912,7 @@
 				sprintf(sx,"%s:4569/%s",s1,sy + 1);
 				s1 = sx;
 			}
+			strsep(&s,",");
 			rpt_mutex_lock(&myrpt->lock);
 			l = myrpt->links.next;
 			/* try to find this one in queue */
@@ -10329,6 +10330,7 @@
 		sprintf(sx,"%s:4569/%s",s1,sy + 1);
 		s1 = sx;
 	}
+	strsep(&s,",");
 	snprintf(deststr, sizeof(deststr), "IAX2/%s", s1);
 	tele = strchr(deststr, '/');
 	if (!tele) {




More information about the asterisk-commits mailing list