fix error assert

This commit is contained in:
yihaoDeng 2022-12-30 09:18:00 +08:00
parent 2b16da863f
commit d011de2c4b
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ static void uvPipeListenCb(uv_stream_t* handle, int status) {
ret = uv_is_writable((uv_stream_t*)pipe);
ASSERTS(ret == 1, "trans-svr pipe status corrupted");
if (ret != 0) return;
if (ret != 1) return;
ret = uv_is_closing((uv_handle_t*)pipe);
ASSERTS(ret == 0, "trans-svr pipe status corrupted");