From: Jason Parker Date: Fri, 22 Dec 2006 21:40:56 +0000 (+0000) Subject: Merged revisions 48888 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~3654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a01ae565e968ac2ec02a08fc74b62fdb112069ce;p=thirdparty%2Fasterisk.git Merged revisions 48888 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48888 | qwell | 2006-12-22 15:40:20 -0600 (Fri, 22 Dec 2006) | 2 lines Note to self: Run make before committing... ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48889 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 6c1cd190e0..75bf874c81 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -1391,7 +1391,7 @@ static int transmit_response(struct skinnysession *s, struct skinny_req *req) if (skinnydebug) ast_log(LOG_VERBOSE, "writing packet type %04X (%d bytes) to socket %d\n", letohl(req->e), letohl(req->len)+8, s->fd); - if (letohl(req->len > SKINNY_MAX_PACKET) || letohl(req->len < 0) { + if (letohl(req->len > SKINNY_MAX_PACKET) || letohl(req->len < 0)) { ast_log(LOG_WARNING, "transmit_response: the length of the request is out of bounds\n"); return -1; }