aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-11-15 21:45:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-11-15 21:45:45 +0000
commit50feea3eef87f1c07b954ad3020fdb836c7f279f (patch)
tree1458929eb07b01267e57bf3d32a066c96e68d0c5 /lib/file.c
parentca95f58ac0d5c9cc8f56517917af8b83248777f7 (diff)
Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into
do_init() and do_complete() which now are called first and last in the DO function. It simplified the flow in multi.c and the functions got more sensible names!
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/file.c b/lib/file.c
index 3b68eb229..1461de224 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -378,7 +378,6 @@ static CURLcode Curl_file(struct connectdata *conn, bool *done)
*done = TRUE; /* unconditionally */
- Curl_readwrite_init(conn);
Curl_initinfo(data);
Curl_pgrsStartNow(data);