aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */