]> granicus.if.org Git - curl/commit
cleanup: minor code cleanup in Curl_http_readwrite_headers()
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Tue, 21 Jun 2016 20:43:58 +0000 (22:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 28 Jun 2016 18:48:44 +0000 (20:48 +0200)
commit38685f86c8709c0670e81812b98f8181814212bf
treeb3880c6fe13b8e76d97ecc639a0c7e04cfba0ba3
parentb6ddc0ac075ecb7e86b25a26ba2faf7e7880ce13
cleanup: minor code cleanup in Curl_http_readwrite_headers()

- the expression of an 'if' was always true
- a 'while' contained a condition that was always true
- use 'if(k->exp100 > EXP100_SEND_DATA)' instead of 'if(k->exp100)'
- fixed a typo

Closes #889
lib/http.c