Skip to content

Commit

Permalink
windows: fix stray comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Sep 1, 2013
1 parent bdc8289 commit d8ab41b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/win/process-stdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static int uv__duplicate_handle(uv_loop_t* loop, HANDLE handle, HANDLE* dup) {

/* _get_osfhandle will sometimes return -2 in case of an error. This seems */
/* to happen when fd <= 2 and the process' corresponding stdio handle is */
/* set to NULL. Unfortunately DuplicateHandle will happily duplicate /*
/* set to NULL. Unfortunately DuplicateHandle will happily duplicate */
/* (HANDLE) -2, so this situation goes unnoticed until someone tries to */
/* use the duplicate. Therefore we filter out known-invalid handles here. */
if (handle == INVALID_HANDLE_VALUE ||
Expand Down
2 changes: 1 addition & 1 deletion src/win/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ void uv_process_tcp_accept_req(uv_loop_t* loop, uv_tcp_t* handle,
}
} else {
/* Error related to accepted socket is ignored because the server */
/* socket may still be healthy. If the server socket is broken
/* socket may still be healthy. If the server socket is broken */
/* uv_queue_accept will detect it. */
closesocket(req->accept_socket);
req->accept_socket = INVALID_SOCKET;
Expand Down
2 changes: 1 addition & 1 deletion src/win/winapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -4076,7 +4076,7 @@
# define STATUS_HASH_NOT_PRESENT ((NTSTATUS) 0xC000A101L)
#endif

/* This is not the NTSTATUS_FROM_WIN32 that the DDK provides, because the
/* This is not the NTSTATUS_FROM_WIN32 that the DDK provides, because the */
/* DDK got it wrong! */
#ifdef NTSTATUS_FROM_WIN32
# undef NTSTATUS_FROM_WIN32
Expand Down

0 comments on commit d8ab41b

Please sign in to comment.