Fix for building on PowerPC under Linux.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Joshua Colp 18 years ago
parent 759dc00599
commit c77b8b9467

@ -660,7 +660,8 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int
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;

Loading…
Cancel
Save