This commit is contained in:
Bert Belder 2011-08-12 02:34:09 +02:00
parent b13f46f6cb
commit 2d40e35b7e
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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.
*/