aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c3
1 files changed, 1 insertions, 2 deletions
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 */