summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2013-07-26 18:25:09 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2013-07-26 18:25:09 +0000
commit1262032b4ff75ae4b6db18547059d0a3f49788c0 (patch)
treebb365b9111a86de463f2b3a5983eb82dbfc24846
parentb60d9af514b74bf164a0a0294e7272ed2a8b0b98 (diff)
downloadneon-1262032b4ff75ae4b6db18547059d0a3f49788c0.tar.gz
* src/ne_request.c (send_request_body): Fix double counting.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1909 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r--src/ne_request.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ne_request.c b/src/ne_request.c
index 65730b7..0551a31 100644
--- a/src/ne_request.c
+++ b/src/ne_request.c
@@ -403,8 +403,6 @@ static int send_request_body(ne_request *req, int retry)
}
while ((bytes = req->body_cb(req->body_ud, start, buflen)) > 0) {
- req->session->status.sr.progress += bytes;
-
if (chunked) {
/* Overwrite the buffer prefix with the appropriate chunk
* size; since ne_snprintf always NUL-terminates, the \n