[Asterisk-cvs] asterisk/cdr cdr_tds.c,1.2,1.3

markster at lists.digium.com markster at lists.digium.com
Sun Aug 1 00:07:31 CDT 2004


Update of /usr/cvsroot/asterisk/cdr
In directory localhost.localdomain:/tmp/cvs-serv10140/cdr

Modified Files:
	cdr_tds.c 
Log Message:
Get rid of TDS warning


Index: cdr_tds.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_tds.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cdr_tds.c	27 Jul 2004 21:16:41 -0000	1.2
+++ cdr_tds.c	1 Aug 2004 03:53:34 -0000	1.3
@@ -322,7 +322,7 @@
 	/* Erase known bad input */
 	for (idx=0; *known_bad[idx]; idx++)
 	{
-		while(srh_ptr = stristr(buf, known_bad[idx])) /* fix me! */
+		while((srh_ptr = stristr(buf, known_bad[idx]))) /* fix me! */
 		{
 			memmove(srh_ptr, srh_ptr+strlen(known_bad[idx]), strlen(srh_ptr+strlen(known_bad[idx]))+1);
 		}




More information about the svn-commits mailing list