summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 19:05:06 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 19:05:06 +0000
commite9436162b8f0f076858263b3e2331d3d0d96150b (patch)
treedb4a87c0fed9249dc92b1b512dcb43df45493a06 /net/tools
parent382d90334654b8b2bf0ed9061135d21ec3bfe0c5 (diff)
downloadchromium_src-e9436162b8f0f076858263b3e2331d3d0d96150b.zip
chromium_src-e9436162b8f0f076858263b3e2331d3d0d96150b.tar.gz
chromium_src-e9436162b8f0f076858263b3e2331d3d0d96150b.tar.bz2
Fix the SpdyShark plugin to use the updated compression dictionary.
BUG=none TEST=none Review URL: http://codereview.chromium.org/1695003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/spdyshark/packet-spdy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/spdyshark/packet-spdy.c b/net/tools/spdyshark/packet-spdy.c
index 8e8a543..c4552f5 100644
--- a/net/tools/spdyshark/packet-spdy.c
+++ b/net/tools/spdyshark/packet-spdy.c
@@ -770,7 +770,7 @@ spdy_decompress_header_block(tvbuff_t *tvb, z_streamp decomp,
} else {
retcode = inflateSetDictionary(decomp,
spdy_dictionary,
- sizeof(spdy_dictionary));
+ sizeof(spdy_dictionary) - 1);
if (retcode == Z_OK)
retcode = inflate(decomp, Z_SYNC_FLUSH);
}