curl-library
[libcurl 1/2] setopt: Fix setting of set.is_fwrite_set
From: Ben Greear <greearb_at_candelatech.com>
Date: Thu, 20 May 2010 11:15:51 -0700
Date: Thu, 20 May 2010 11:15:51 -0700
Signed-off-by: Ben Greear <greearb_at_candelatech.com>
--- :100644 100644 3197630... 4fe2173... M lib/url.c lib/url.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/url.c b/lib/url.c index 3197630..4fe2173 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1845,7 +1845,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, data->set.fwrite_func = (curl_write_callback)fwrite; } else - data->set.is_fwrite_set = 0; + data->set.is_fwrite_set = 1; break; case CURLOPT_READFUNCTION: /* -- 1.6.2.5 ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-05-20