mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
re-added the default switch for weird states
This commit is contained in:
parent
e16e9b91ae
commit
147de35d41
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user