remove call to close
This commit is contained in:
parent
d8a9da2044
commit
da148c0dd4
|
@ -1 +1 @@
|
||||||
Mon Jul 29 16:07:25 CDT 2013
|
Thu Aug 22 18:43:14 EDT 2013
|
||||||
|
|
|
@ -459,7 +459,6 @@ int tport_ws_init_secondary(tport_t *self, int socket, int accepted,
|
||||||
|
|
||||||
if (ws_init(&wstp->ws, socket, wstp->ws_secure ? wspri->ssl_ctx : NULL, 0) < 0) {
|
if (ws_init(&wstp->ws, socket, wstp->ws_secure ? wspri->ssl_ctx : NULL, 0) < 0) {
|
||||||
ws_destroy(&wstp->ws);
|
ws_destroy(&wstp->ws);
|
||||||
su_close(socket);
|
|
||||||
wstp->ws_initialized = -1;
|
wstp->ws_initialized = -1;
|
||||||
return *return_reason = "WS_INIT", -1;
|
return *return_reason = "WS_INIT", -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue