diff options
author | corvid <corvid@lavabit.com> | 2009-10-25 18:02:34 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-10-25 18:02:34 +0000 |
commit | 30a0ec4bb4d3e79671154852780aa8b52f42f91d (patch) | |
tree | 3df81733c81b42263cd39e84490a0efc3b42af50 /src | |
parent | 197ca82cddf57624632a5e6ede5602e7cc789d2f (diff) |
stricter test for "chunked" transfer encoding
Diffstat (limited to 'src')
-rw-r--r-- | src/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c index 3a9da9b9..24067318 100644 --- a/src/decode.c +++ b/src/decode.c @@ -190,7 +190,7 @@ Decode *a_Decode_transfer_init(const char *format) { Decode *dc = NULL; - if (format && !dStrncasecmp(format, "chunked", 7)) { + if (format && !dStrcasecmp(format, "chunked")) { int *chunk_remaining = dNew(int, 1); *chunk_remaining = 0; dc = dNew(Decode, 1); |