mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 10:22:46 +00:00
!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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user