]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Note to self: Run make before committing...
authorJason Parker <jparker@digium.com>
Fri, 22 Dec 2006 21:40:20 +0000 (21:40 +0000)
committerJason Parker <jparker@digium.com>
Fri, 22 Dec 2006 21:40:20 +0000 (21:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48888 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index 1de7481c9cd302420d9b4302d29b1684e257565b..57ec2a5bc92b1445438237c787424918707d35d4 100644 (file)
@@ -1395,7 +1395,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;
        }