aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-02-01 23:56:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-02-01 23:56:28 +0000
commitc758744e7e5a33e9372eff0c995c0739bdbc23b9 (patch)
treebf7e420d68537d15afb80876405f56839199d55f
parentc6a8bb3d5642ab674f884c535ca4955b951f2ff8 (diff)
removed #include "upload.h"
-rw-r--r--lib/ftp.c1
-rw-r--r--lib/http.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index e85cc9833..da67ecb86 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -77,7 +77,6 @@
#include "if2ip.h"
#include "hostip.h"
#include "progress.h"
-#include "upload.h"
#include "download.h"
#include "escape.h"
diff --git a/lib/http.c b/lib/http.c
index 49d47b3a5..38b07b6ad 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -93,7 +93,6 @@
#include "formdata.h"
#include "progress.h"
#include "base64.h"
-#include "upload.h"
#include "cookie.h"
#define _MPRINTF_REPLACE /* use our functions only */
@@ -320,7 +319,7 @@ UrgError http(struct UrlData *data, char *ppath, char *host, long *bytecount)
ProgressInit(data, postsize);
result = Transfer(data, data->firstsocket, -1, TRUE, &readbytecount,
- data->firstsocket, writebytecount);
+ data->firstsocket, &writebytecount);
*bytecount = readbytecount + writebytecount;
FormFree(sendit); /* Now free that whole lot */