summaryrefslogtreecommitdiff
path: root/lib/http_chunks.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-13 23:29:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-13 23:29:53 +0000
commit147de35d412db25b82ef465bee1433daad7cc303 (patch)
tree2eb882462ffa22369ec1d1fa971cc85a1b792b2f /lib/http_chunks.c
parente16e9b91aea77bfe196179e3544bae33bdf1d4a4 (diff)
downloadcurl-147de35d412db25b82ef465bee1433daad7cc303.tar.gz
re-added the default switch for weird states
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r--lib/http_chunks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index 89c860918..d4badeb90 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -214,10 +214,8 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
even if there's no more chunks to read */
ch->dataleft = length;
return CHUNKE_STOP; /* return stop */
-#if 0
default:
return CHUNKE_STATE_ERROR;
-#endif
}
}
return CHUNKE_OK;