mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
revert 02c329da33ce10aea160f070d710fef406de3009 and put proper fix
This commit is contained in:
parent
94d4501992
commit
da0c0c0e4a
@ -464,7 +464,7 @@ static void tport_ws_deinit_secondary(tport_t *self)
|
|||||||
wsh_t *wsh = wstp->ws;
|
wsh_t *wsh = wstp->ws;
|
||||||
SU_DEBUG_1(("%p destroy ws%s transport %p.\n", (void *) self, wstp->ws_secure ? "s" : "", (void *) wsh));
|
SU_DEBUG_1(("%p destroy ws%s transport %p.\n", (void *) self, wstp->ws_secure ? "s" : "", (void *) wsh));
|
||||||
ws_destroy(&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];
|
tport_t wstp_tp[1];
|
||||||
wsh_t ws[1];
|
wsh_t ws[1];
|
||||||
char *wstp_buffer;
|
char *wstp_buffer;
|
||||||
unsigned ws_initialized:1;
|
SU_S8_T ws_initialized;
|
||||||
unsigned ws_secure:1;
|
unsigned ws_secure:1;
|
||||||
unsigned:0;
|
unsigned:0;
|
||||||
} tport_ws_t;
|
} tport_ws_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user