doc: net: fix typo in example code
authorYazhong Liu <yorkiefixer@gmail.com>
Fri, 29 Nov 2013 16:44:13 +0000 (00:44 +0800)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 30 Nov 2013 13:05:45 +0000 (14:05 +0100)
doc/api/net.markdown

index 513acb1..9cd6ddf 100644 (file)
@@ -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])