remove call to close

This commit is contained in:
Anthony Minessale 2013-08-22 18:49:25 -04:00
parent d8a9da2044
commit da148c0dd4
2 changed files with 1 additions and 2 deletions

View File

@ -1 +1 @@
Mon Jul 29 16:07:25 CDT 2013
Thu Aug 22 18:43:14 EDT 2013

View File

@ -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) {
ws_destroy(&wstp->ws);
su_close(socket);
wstp->ws_initialized = -1;
return *return_reason = "WS_INIT", -1;
}