diff options
author | Yang Tse <yangsita@gmail.com> | 2006-09-10 23:37:42 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-09-10 23:37:42 +0000 |
commit | c30e908034dec008990d58759dd28d3cdbef536b (patch) | |
tree | 6b1d844d5a59b4ace75f1d792a640ba698a77a54 /lib/http.c | |
parent | 8d24c0212efb7b0ef4de610fbadf12cdee266c0e (diff) |
Compiler warning fix
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index f4b642bd1..e69eb74b3 100644 --- a/lib/http.c +++ b/lib/http.c @@ -775,7 +775,7 @@ static size_t readmoredata(char *buffer, return 0; /* make sure that a HTTP request is never sent away chunked! */ - conn->bits.forbidchunk= (http->sending == HTTPSEND_REQUEST)?TRUE:FALSE; + conn->bits.forbidchunk = (bool)(http->sending == HTTPSEND_REQUEST); if(http->postsize <= (curl_off_t)fullsize) { memcpy(buffer, http->postdata, (size_t)http->postsize); |