summaryrefslogtreecommitdiff
path: root/lib/http_chunks.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-11-15 21:45:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-11-15 21:45:45 +0000
commit50feea3eef87f1c07b954ad3020fdb836c7f279f (patch)
tree1458929eb07b01267e57bf3d32a066c96e68d0c5 /lib/http_chunks.c
parentca95f58ac0d5c9cc8f56517917af8b83248777f7 (diff)
downloadcurl-50feea3eef87f1c07b954ad3020fdb836c7f279f.tar.gz
Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into
do_init() and do_complete() which now are called first and last in the DO function. It simplified the flow in multi.c and the functions got more sensible names!
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r--lib/http_chunks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index 71b9b9791..305a8a97a 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -178,7 +178,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
if(*datap == 0x0a) {
/* we're now expecting data to come, unless size was zero! */
if(0 == ch->datasize) {
- if(conn->bits.trailerHdrPresent!=TRUE) {
+ if(conn->bits.trailerhdrpresent!=TRUE) {
/* No Trailer: header found - revert to original Curl processing */
ch->state = CHUNK_STOPCR;