projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure event is still CS_CONNECT part of YAZ-825
[yaz-moved-to-github.git]
/
src
/
tcpip.c
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
e80365f
..
8aef811
100644
(file)
--- a/
src/tcpip.c
+++ b/
src/tcpip.c
@@
-818,6
+818,7
@@
int tcpip_rcvconnect(COMSTACK h)
r = tcpip_put(h, sp->connect_request_buf,
sp->connect_request_len);
TRC(fprintf(stderr, "tcpip_put CONNECT r=%d\n", r));
r = tcpip_put(h, sp->connect_request_buf,
sp->connect_request_len);
TRC(fprintf(stderr, "tcpip_put CONNECT r=%d\n", r));
+ h->event = CS_CONNECT; /* because tcpip_put sets it */
if (r) /* < 0 is error, 1 is in-complete */
return r;
TRC(fprintf(stderr, "tcpip_put CONNECT complete\n"));
if (r) /* < 0 is error, 1 is in-complete */
return r;
TRC(fprintf(stderr, "tcpip_put CONNECT complete\n"));