[asterisk-commits] rmeyerriecks: branch 1.8 r410748 - /branches/1.8/main/callerid.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 17 16:54:21 CDT 2014


Author: rmeyerriecks
Date: Mon Mar 17 16:54:18 2014
New Revision: 410748

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=410748
Log:
!fixup: callerid: Logic error in checksum processing

Fixes syntax error in previous commit :-(

Modified:
    branches/1.8/main/callerid.c

Modified: branches/1.8/main/callerid.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/callerid.c?view=diff&rev=410748&r1=410747&r2=410748
==============================================================================
--- branches/1.8/main/callerid.c (original)
+++ branches/1.8/main/callerid.c Mon Mar 17 16:54:18 2014
@@ -621,7 +621,7 @@
 				}
 				break;
 			case 5: /* Check checksum */
-				if ((b + cid->cksum) & 0xff)) {
+				if ((b + cid->cksum) & 0xff) {
 					ast_log(LOG_NOTICE, "Caller*ID failed checksum\n");
 					/* Try again */
 					cid->sawflag = 0;




More information about the asterisk-commits mailing list