From 58a6203ff21302b7bf798b53d82e0c355ce7a2eb Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 19 May 2009 18:02:03 +0000 Subject: [PATCH] Doh. Unbreak extra field skipping in decompress_iob(). Pointed out by clang, initially fat-fingered by me. --- parsers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers.c b/parsers.c index 7896117b..296ddbab 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.159 2009/05/19 17:48:58 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.160 2009/05/19 17:52:03 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -471,7 +471,7 @@ jb_err decompress_iob(struct client_state *csp) */ int skip_bytes; skip_bytes = *cur++; - skip_bytes = *cur++ << 8; + skip_bytes += *cur++ << 8; assert(skip_bytes == *csp->iob->cur - 2 + ((*csp->iob->cur - 1) << 8)); -- 2.39.2