From 401bea75270967918a04e8959e780aba95d10316 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Mon, 10 Jul 2000 19:40:06 +0000 Subject: [PATCH] set connected and bound when the connect completes --- lib/isc/unix/socket.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 419e07b93c..a1327a4a87 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: socket.c,v 1.146 2000/06/26 22:59:22 gson Exp $ */ +/* $Id: socket.c,v 1.147 2000/07/10 19:40:06 explorer Exp $ */ #include @@ -2877,8 +2877,11 @@ internal_connect(isc_task_t *me, isc_event_t *ev) { "internal_connect: connect() %s", strerror(errno)); } - } else + } else { dev->result = ISC_R_SUCCESS; + sock->connected = 1; + sock->bound = 1; + } sock->connect_ev = NULL;