diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-01-07 22:48:28 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-01-07 22:48:28 +0000 |
commit | 8524c04ca98d9c0b5f90d685135e0466e0d8b386 (patch) | |
tree | 1b8154776ed45f987c33ed6a27b5878eb88df8e1 /lib/transfer.c | |
parent | 31630203b1433b89249a5dd838e481fdd78a9630 (diff) |
removed a parameter from the Curl_http_readwrite_headers() prototype to remove
the need for the struct forward declaration from http.h which caused problems
with gcc 2.96 and quite frankly the parameter wasn't necessary anyway
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 636beedb0..3c5821692 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -441,7 +441,7 @@ static CURLcode readwrite_data(struct SessionHandle *data, if(k->header) { /* we are in parse-the-header-mode */ bool stop_reading = FALSE; - result = Curl_http_readwrite_headers(data, conn, k, &nread, &stop_reading); + result = Curl_http_readwrite_headers(data, conn, &nread, &stop_reading); if(result) return result; if(stop_reading) |