rktio: repair to listen
failure handling
This commit is contained in:
parent
8094ef7a02
commit
d90976f865
|
@ -1468,8 +1468,10 @@ rktio_listener_t *rktio_listen(rktio_t *rktio, rktio_addrinfo_t *src, int backlo
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
l->count = pos;
|
if (l) {
|
||||||
rktio_listen_stop(rktio, l);
|
l->count = pos;
|
||||||
|
rktio_listen_stop(rktio, l);
|
||||||
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user