From: Michael Kaufmann Date: Wed, 18 Sep 2019 11:42:53 +0000 (+0200) Subject: http: merge two "case" statements X-Git-Tag: curl-7_67_0~182 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a2404153bb427a8c4b046a96389fc9862944aa3;p=thirdparty%2Fcurl.git http: merge two "case" statements --- diff --git a/lib/http.c b/lib/http.c index 28d1fa607d..eca142af4c 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;