doc: fix dgram doc indentation

PR-URL: https://github.com/nodejs/node/pull/5118
Reviewed-By: Roman Reiss <me@silverwind.io>
pull/5118/merge
Rich Trott 2016-02-05 23:58:35 -08:00
parent 791eef0cbb
commit 394556e9f5
1 changed files with 2 additions and 1 deletions

View File

@ -377,6 +377,7 @@ s.bind(1234, () => {
## `dgram` module functions
### dgram.createSocket(options[, callback])
* `options` Object
* `callback` Function. Attached as a listener to `'message'` events.
* Returns: Socket object
@ -397,7 +398,7 @@ interfaces" address on a random port (it does the right thing for both `udp4`
and `udp6` sockets). The bound address and port can be retrieved using
[`socket.address().address`][] and [`socket.address().port`][].
## dgram.createSocket(type[, callback])
### dgram.createSocket(type[, callback])
* `type` String. Either 'udp4' or 'udp6'
* `callback` Function. Attached as a listener to `'message'` events.