summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYazhong Liu <yorkiefixer@gmail.com>2013-11-30 00:44:13 +0800
committerBen Noordhuis <info@bnoordhuis.nl>2013-11-30 14:05:45 +0100
commitfcfaa392ae8c47da98f2b4f590b54dffa4f079dd (patch)
tree5d31c934b210ce6d52867f906b51985d5e45e6fc
parenta32b8787a43a6bb9ec5fbd9e0dfd0932f16e5b69 (diff)
downloadnode-fcfaa392ae8c47da98f2b4f590b54dffa4f079dd.tar.gz
doc: net: fix typo in example code
-rw-r--r--doc/api/net.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/net.markdown b/doc/api/net.markdown
index 513acb117..9cd6ddf51 100644
--- a/doc/api/net.markdown
+++ b/doc/api/net.markdown
@@ -96,7 +96,7 @@ Here is an example of a client of echo server as described previously:
To connect on the socket `/tmp/echo.sock` the second line would just be
changed to
- var client = net.connect({path: '/tmp/echo.sock'},
+ var client = net.connect({path: '/tmp/echo.sock'});
## net.connect(port, [host], [connectListener])
## net.createConnection(port, [host], [connectListener])