remove call to close

This commit is contained in:
Anthony Minessale committed 2013-08-22 18:49:35 -04:00
1 parent d8a9da2044
commit da148c0dd4
2 files changed
+1 -2

No files matched your search

@@ -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;
}