Skip to content

Commit

Permalink
doc: fix dgram doc indentation
Browse files Browse the repository at this point in the history
PR-URL: nodejs#5118
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
Trott authored and Michael Scovetta committed Apr 2, 2016
1 parent 8cba86c commit b6a2eed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/dgram.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit b6a2eed

Please sign in to comment.