Skip to content

Commit

Permalink
doc: corrected name of argument in socket.send
Browse files Browse the repository at this point in the history
Corrected name of "msg" argument from "buf" to "msg".

PR-URL: #5449
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
chrisdew authored and rvagg committed Feb 28, 2016
1 parent c8725f5 commit 3bfe048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/dgram.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ drop membership on all valid interfaces.

### socket.send(msg, [offset, length,] port, address[, callback])

* `buf` {Buffer|String|Array} Message to be sent
* `msg` {Buffer|String|Array} Message to be sent
* `offset` {Number} Integer. Optional. Offset in the buffer where the message starts.
* `length` {Number} Integer. Optional. Number of bytes in the message.
* `port` {Number} Integer. Destination port.
Expand Down

0 comments on commit 3bfe048

Please sign in to comment.