提交 d011de2c 编写于 作者: dengyihao's avatar dengyihao

fix error assert

上级 2b16da86
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册