projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac9a47c
)
http_recv.c: Fix typo in http_recv_open()
author
Andre Noll
<maan@systemlinux.org>
Mon, 19 Feb 2007 21:06:06 +0000
(22:06 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 19 Feb 2007 21:06:06 +0000
(22:06 +0100)
Quite serious as it causes the http receiver not to error
out if get_host_info() fails.
http_recv.c
patch
|
blob
|
history
diff --git
a/http_recv.c
b/http_recv.c
index
6589833
..
8b55039
100644
(file)
--- a/
http_recv.c
+++ b/
http_recv.c
@@
-185,7
+185,7
@@
static int http_recv_open(struct receiver_node *rn)
rn->private_data = para_calloc(sizeof(struct private_http_recv_data));
phd = rn->private_data;
ret = get_host_info(conf->host_arg, &he);
- if (
!
ret < 0)
+ if (ret < 0)
goto err_out;
/* get new socket */
ret = get_socket();