Style
This commit is contained in:
parent
b13f46f6cb
commit
2d40e35b7e
@ -754,7 +754,7 @@ void uv_process_pipe_read_req(uv_pipe_t* handle, uv_req_t* req) {
|
||||
}
|
||||
|
||||
if (avail == 0) {
|
||||
// Nothing to read after all
|
||||
/* There is nothing to read after all. */
|
||||
break;
|
||||
}
|
||||
|
||||
@ -863,7 +863,7 @@ void uv_process_pipe_shutdown_req(uv_pipe_t* handle, uv_shutdown_t* req) {
|
||||
handle->handle = INVALID_HANDLE_VALUE;
|
||||
|
||||
if (req->cb) {
|
||||
((uv_shutdown_cb) req->cb)(req, 0);
|
||||
req->cb(req, 0);
|
||||
}
|
||||
|
||||
DECREASE_PENDING_REQ_COUNT(handle);
|
||||
|
||||
@ -90,7 +90,7 @@ static void after_read(uv_stream_t* handle, ssize_t nread, uv_buf_t buf) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* Scan for the letter Q which signals that we should quit the server.
|
||||
* If we get QS it means close the stream.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user