mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:27:15 +03:00
http: merge two "case" statements
This commit is contained in:
parent
1c02a4e874
commit
2a2404153b
1 changed files with 0 additions and 3 deletions
|
|
@ -450,9 +450,6 @@ static CURLcode http_perhapsrewind(struct connectdata *conn)
|
|||
/* figure out how much data we are expected to send */
|
||||
switch(data->set.httpreq) {
|
||||
case HTTPREQ_POST:
|
||||
if(data->state.infilesize != -1)
|
||||
expectsend = data->state.infilesize;
|
||||
break;
|
||||
case HTTPREQ_PUT:
|
||||
if(data->state.infilesize != -1)
|
||||
expectsend = data->state.infilesize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue