projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4b694c9
)
Fix http_recv.
author
Andre Noll
<maan@systemlinux.org>
Mon, 28 Dec 2009 22:03:31 +0000
(23:03 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 28 Dec 2009 22:03:31 +0000
(23:03 +0100)
http_recv.c
patch
|
blob
|
history
diff --git
a/http_recv.c
b/http_recv.c
index
f7796d4
..
bedd989
100644
(file)
--- a/
http_recv.c
+++ b/
http_recv.c
@@
-156,6
+156,9
@@
static void http_recv_post_select(struct sched *s, struct task *t)
BUFSIZE - rn->loaded);
if (t->error == 0)
t->error = -E_RECV_EOF;
+ if (t->error < 0)
+ return;
+ rn->loaded += t->error;
}
static void http_recv_close(struct receiver_node *rn)