revert 02c329da33
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;
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue