mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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 */
|
even if there's no more chunks to read */
|
||||||
ch->dataleft = length;
|
ch->dataleft = length;
|
||||||
return CHUNKE_STOP; /* return stop */
|
return CHUNKE_STOP; /* return stop */
|
||||||
#if 0
|
|
||||||
default:
|
default:
|
||||||
return CHUNKE_STATE_ERROR;
|
return CHUNKE_STATE_ERROR;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return CHUNKE_OK;
|
return CHUNKE_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user