Adjusted to use the new Transfer() instead of the old Download()

This commit is contained in:
Daniel Stenberg
2000-02-01 23:52:11 +00:00
parent d2af77e60c
commit 15755b3fd8
3 changed files with 26 additions and 23 deletions

View File

@@ -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;