aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2010-05-20 20:15:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-05-20 23:15:34 +0200
commit368fd5d27bf89a294d10b63bdacb9ecd7cf8c30d (patch)
tree009db50716abe7cf2cd2045f13e1d4f2a04a2732
parent81239edb89add9327d2b03105c9981d092e16ace (diff)
setopt: Fix setting of set.is_fwrite_set
Signed-off-by: Ben Greear <greearb@candelatech.com>
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 31976300c..4fe2173dc 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:
/*