Permalink
Browse files

Fix pasto: uv_udp_recv_start() receives a UDP datagram, it doesn't se…

…nd data.
  • Loading branch information...
1 parent 2069a24 commit e8a418e920dc98fbe34808d8ea9150b66f61ad3a @jedisct1 jedisct1 committed with bnoordhuis Oct 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/uv.h
View
@@ -610,7 +610,7 @@ int uv_udp_send6(uv_udp_send_t* req, uv_udp_t* handle, uv_buf_t bufs[],
int bufcnt, struct sockaddr_in6 addr, uv_udp_send_cb send_cb);
/*
- * Send data. If the socket has not previously been bound with `uv_udp_bind`
+ * Receive data. If the socket has not previously been bound with `uv_udp_bind`
* or `uv_udp_bind6`, it is bound to 0.0.0.0 (the "all interfaces" address)
* and a random port number.
*

0 comments on commit e8a418e

Please sign in to comment.