Skip to content
Snippets Groups Projects
Commit d2e4c220 authored by Russ Meyerriecks's avatar Russ Meyerriecks
Browse files

!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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@410749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 4a0a04e5
No related branches found
No related tags found
No related merge requests found
...@@ -621,7 +621,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, stru ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment