aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2019-09-18 13:42:53 +0200
committerMichael Kaufmann <mail@michael-kaufmann.ch>2019-09-18 13:45:41 +0200
commit2a2404153bb427a8c4b046a96389fc9862944aa3 (patch)
tree971e5f39a0f5e26a782c82d0e593bf67708774e3
parent1c02a4e8747defab6607e90173d294875eb73ba1 (diff)
http: merge two "case" statements
-rw-r--r--lib/http.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c
index 28d1fa607..eca142af4 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -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;