projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c3727
)
Pass -1 as no-socket parameter to iochan_create
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 21 May 2010 09:48:54 +0000
(11:48 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 21 May 2010 09:48:54 +0000
(11:48 +0200)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
1406811
..
19d0477
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-435,7
+435,7
@@
static int connection_connect(struct connection *con, iochan_man_t iochan_man)
ZOOM_connection_connect(link, host->ipport, 0);
con->link = link;
- con->iochan = iochan_create(0, connection_handler, 0, "connection_socket");
+ con->iochan = iochan_create(-1, connection_handler, 0, "connection_socket");
con->state = Conn_Connecting;
iochan_settimeout(con->iochan, con->operation_timeout);
iochan_setdata(con->iochan, con);