[asterisk-commits] file: branch 1.4 r69805 - /branches/1.4/main/callerid.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 18 16:57:11 CDT 2007


Author: file
Date: Mon Jun 18 16:57:10 2007
New Revision: 69805

URL: http://svn.digium.com/view/asterisk?view=rev&rev=69805
Log:
Fix for building on PowerPC under Linux.

Modified:
    branches/1.4/main/callerid.c

Modified: branches/1.4/main/callerid.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/callerid.c?view=diff&rev=69805&r1=69804&r2=69805
==============================================================================
--- branches/1.4/main/callerid.c (original)
+++ branches/1.4/main/callerid.c Mon Jun 18 16:57:10 2007
@@ -660,7 +660,8 @@
 						default:
 							ast_log(LOG_NOTICE, "Unknown IE %d\n", cid->rawdata[x-1]);
 						}
-						if(0 > cid->rawdata[x]){	/* Negative offset in the CID Spill */
+						res = cid->rawdata[x];
+						if (0 > res){	/* Negative offset in the CID Spill */
 							ast_log(LOG_NOTICE, "IE %d has bad field length of %d at offset %d\n", cid->rawdata[x-1], cid->rawdata[x], x);
 							/* Try again */
 							cid->sawflag = 0;




More information about the asterisk-commits mailing list