Remove trailing whitespace

This commit is contained in:
Bert Belder 2011-08-18 23:24:00 +02:00
parent 8448ee4bf6
commit cc0b0e6238
4 changed files with 6 additions and 6 deletions

View File

@ -578,7 +578,7 @@ struct uv_getaddrinfo_s {
};
/*
/*
* Asynchronous getaddrinfo(3).
*
* Return code 0 means that request is accepted and callback will be called

View File

@ -281,7 +281,7 @@ static int uv_tcp_set_socket(uv_tcp_t* handle, SOCKET socket) {
}
if (pSetFileCompletionNotificationModes) {
if (!pSetFileCompletionNotificationModes((HANDLE)socket, FILE_SKIP_SET_EVENT_ON_HANDLE |
if (!pSetFileCompletionNotificationModes((HANDLE)socket, FILE_SKIP_SET_EVENT_ON_HANDLE |
FILE_SKIP_COMPLETION_PORT_ON_SUCCESS)) {
uv_set_sys_error(GetLastError());
return -1;
@ -492,7 +492,7 @@ static void uv_tcp_queue_read(uv_tcp_t* handle) {
req = &handle->read_req;
memset(&req->overlapped, 0, sizeof(req->overlapped));
/*
/*
* Preallocate a read buffer if the number of active streams is below
* the threshold.
*/
@ -531,7 +531,7 @@ static void uv_tcp_queue_read(uv_tcp_t* handle) {
req->error = uv_new_sys_error(WSAGetLastError());
uv_insert_pending_req(req);
handle->reqs_pending++;
}
}
}

View File

@ -64,6 +64,6 @@ void uv_winapi_init() {
kernel32_module,
"GetQueuedCompletionStatusEx");
pSetFileCompletionNotificationModes = (sSetFileCompletionNotificationModes)
pSetFileCompletionNotificationModes = (sSetFileCompletionNotificationModes)
GetProcAddress(kernel32_module, "SetFileCompletionNotificationModes");
}

View File

@ -127,7 +127,7 @@ static void spawn() {
BENCHMARK_IMPL(spawn) {
int r;
int r;
static int64_t start_time, end_time;
uv_init();