summaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-02-01 23:52:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-02-01 23:52:11 +0000
commit15755b3fd8744e1ff7d2cda5f2db9477a84e5c88 (patch)
tree10e12f5c8ab0262dcb1e32a94d533c96888e77c6 /lib/dict.c
parentd2af77e60c321431e6673bc1cad2f71e7d5feb64 (diff)
downloadcurl-15755b3fd8744e1ff7d2cda5f2db9477a84e5c88.tar.gz
Adjusted to use the new Transfer() instead of the old Download()
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/dict.c b/lib/dict.c
index e26437022..99abf49f6 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -162,7 +162,8 @@ UrgError dict(struct UrlData *data, char *path, long *bytecount)
word
);
- result = Download(data, data->firstsocket, -1, FALSE, bytecount);
+ result = Transfer(data, data->firstsocket, -1, FALSE, bytecount,
+ -1, NULL); /* no upload */
if(result)
return result;
@@ -209,7 +210,8 @@ UrgError dict(struct UrlData *data, char *path, long *bytecount)
word
);
- result = Download(data, data->firstsocket, -1, FALSE, bytecount);
+ result = Transfer(data, data->firstsocket, -1, FALSE, bytecount,
+ -1, NULL); /* no upload */
if(result)
return result;
@@ -232,7 +234,8 @@ UrgError dict(struct UrlData *data, char *path, long *bytecount)
"QUIT\n",
ppath);
- result = Download(data, data->firstsocket, -1, FALSE, bytecount);
+ result = Transfer(data, data->firstsocket, -1, FALSE, bytecount,
+ -1, NULL);
if(result)
return result;