Permalink
Browse files

[docs] readme typo

  • Loading branch information...
0x00A committed Nov 10, 2012
1 parent ea398de commit 3a386b229d9f7662cfa15bca3ba6ee2fc1d448b7
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -68,7 +68,8 @@ net.createServer(function(socket) {
var onfile = function(filename, file) {
if (!file.isDirectory) {
- fs.createWriteStream(filename).pipe(file);
+
+ file.pipe(fs.createWriteStream(filename));
}
}
```

0 comments on commit 3a386b2

Please sign in to comment.