diff options
author | isaacs <i@izs.me> | 2012-06-19 22:07:59 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-20 01:07:48 +0400 |
commit | f105f2f2fd105a28e56f112bf759ae7f18743c4c (patch) | |
tree | c98e6406186fa7df6acf12d8eac405abfb898418 | |
parent | 252f034b30b3bf9b0c38d683725868d899209870 (diff) |
trivial: Doc typo and lint fix
-rw-r--r-- | doc/api/cluster.markdown | 2 | ||||
-rw-r--r-- | lib/querystring.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index 7af04ec05ca..d0e4de3c6f2 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -58,7 +58,7 @@ create one, and pass the handle to the child. This causes potentially surprising behavior in three edge cases: -1. `server.listen({fd: 7})` Because the message is passed to the worker, +1. `server.listen({fd: 7})` Because the message is passed to the master, file descriptor 7 **in the parent** will be listened on, and the handle passed to the worker, rather than listening to the worker's idea of what the number 7 file descriptor references. diff --git a/lib/querystring.js b/lib/querystring.js index 7ccd8cf49ad..12b6013d525 100644 --- a/lib/querystring.js +++ b/lib/querystring.js @@ -151,7 +151,7 @@ QueryString.stringify = QueryString.encode = function(obj, sep, eq, name) { }).join(sep); } - + if (!name) return ''; return QueryString.escape(stringifyPrimitive(name)) + eq + QueryString.escape(stringifyPrimitive(obj)); |