Skip to content
Browse files

include: fix confusing uv_tcp_keepalive comment

  • Loading branch information...
1 parent 976c8a4 commit 7aa126176921b044baab3de357b6afff2ed90355 @bnoordhuis bnoordhuis committed Oct 5, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 include/uv.h
View
10 include/uv.h
@@ -608,12 +608,14 @@ UV_EXTERN int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock);
/* Enable/disable Nagle's algorithm. */
UV_EXTERN int uv_tcp_nodelay(uv_tcp_t* handle, int enable);
-/* Enable/disable TCP keep-alive.
+/*
+ * Enable/disable TCP keep-alive.
*
- * `ms` is the initial delay in seconds, ignored when `enable` is zero.
+ * `delay` is the initial delay in seconds, ignored when `enable` is zero.
*/
-UV_EXTERN int uv_tcp_keepalive(uv_tcp_t* handle, int enable,
- unsigned int delay);
+UV_EXTERN int uv_tcp_keepalive(uv_tcp_t* handle,
+ int enable,
+ unsigned int delay);
/*
* This setting applies to Windows only.

0 comments on commit 7aa1261

Please sign in to comment.
Something went wrong with that request. Please try again.