diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-22 21:40:56 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-22 21:40:56 +0000 |
commit | dc680933343e35e38fef47a216372137f8511fc5 (patch) | |
tree | 22ca01a322cb62c6afb52852358f913e2ce2ae3a /channels/chan_skinny.c | |
parent | aca101a1e71a771e7b64359f08f993f0448d5a37 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@48889 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r-- | channels/chan_skinny.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 6c1cd190e..75bf874c8 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; } |