chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sel/ident.c: Don't close the descriptor twice on immediate connect failure.
[mLib]
/
sel
/
ident.c
diff --git
a/sel/ident.c
b/sel/ident.c
index f8ce0c7bd384a108ebdfa15fcd0f015748fa97fd..0017f0a3877faef70c4d36d975245caa47b22f07 100644
(file)
--- a/
sel/ident.c
+++ b/
sel/ident.c
@@
-282,7
+282,7
@@
static void go(ident_request *rq)
sin.sin_addr = rq->remote.sin_addr;
if (conn_init(&rq->c, rq->s, fd, (struct sockaddr *)&sin, sizeof(sin),
connected, rq))
- goto fail_
1
;
+ goto fail_
0
;
/* --- Finish off initializing the block --- */