setopt: Fix setting of set.is_fwrite_set

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear
2010-05-20 20:15:51 +02:00
committed by Daniel Stenberg
parent 81239edb89
commit 368fd5d27b

View File

@@ -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:
/*