!fixup: callerid: Logic error in checksum processing

Fixes syntax error in previous commit :-(
........

Merged revisions 410748 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 410749 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russ Meyerriecks
2014-03-17 21:56:57 +00:00
parent 4cd6c21f1e
commit 9f74d2290b

View File

@@ -621,7 +621,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, stru
} }
break; break;
case 5: /* Check checksum */ case 5: /* Check checksum */
if ((b + cid->cksum) & 0xff)) { if ((b + cid->cksum) & 0xff) {
ast_log(LOG_NOTICE, "Caller*ID failed checksum\n"); ast_log(LOG_NOTICE, "Caller*ID failed checksum\n");
/* Try again */ /* Try again */
cid->sawflag = 0; cid->sawflag = 0;