aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-09 15:37:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-09 15:37:54 +0000
commit4bcc866c52d5d5eaae18bda4b2afad8014b23683 (patch)
tree807392a4a1cd99d6d89d5aa6ea0dd27448328287 /lib/url.c
parentc65e088cafb1fe46000270c8e13c31f5dc909ed3 (diff)
The fread() callback pointer and associated pointer is now stored in the
connectdata struct instead, and is no longer modified within the 'set' struct as previously (which was a really BAAAD thing).
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index f67ef7bcb..935507674 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1789,6 +1789,9 @@ static CURLcode CreateConnection(struct SessionHandle *data,
/* else, no chunky upload */
FALSE;
+ conn->fread = data->set.fread;
+ conn->fread_in = data->set.in;
+
/***********************************************************
* We need to allocate memory to store the path in. We get the size of the
* full URL to be sure, and we need to make it at least 256 bytes since