Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Petr Menšík
BIND
Commits
401bea75
Commit
401bea75
authored
Jul 10, 2000
by
Michael Graff
Browse files
set connected and bound when the connect completes
parent
28059de4
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/unix/socket.c
View file @
401bea75
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: socket.c,v 1.14
6
2000/0
6/26 22:59:22 gson
Exp $ */
/* $Id: socket.c,v 1.14
7
2000/0
7/10 19:40:06 explorer
Exp $ */
#include <config.h>
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment