mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
revert 02c329da33 and put proper fix
This commit is contained in:
1 parent
94d4501992
commit
da0c0c0e4a
2 files changed
+2
-2
No files matched your search
@@ -464,7 +464,7 @@ static void tport_ws_deinit_secondary(tport_t *self)
|
||||
wsh_t *wsh = wstp->ws;
|
||||
SU_DEBUG_1(("%p destroy ws%s transport %p.\n", (void *) self, wstp->ws_secure ? "s" : "", (void *) wsh));
|
||||
ws_destroy(&wsh);
|
||||
wstp->ws_initialized = 0;
|
||||
wstp->ws_initialized = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ typedef struct tport_ws_s {
|
||||
tport_t wstp_tp[1];
|
||||
wsh_t ws[1];
|
||||
char *wstp_buffer;
|
||||
unsigned ws_initialized:1;
|
||||
SU_S8_T ws_initialized;
|
||||
unsigned ws_secure:1;
|
||||
unsigned:0;
|
||||
} tport_ws_t;
|
||||
|
||||
Reference in new issue
Block a user