summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/decode.c2
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);