projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252f034
)
trivial: Doc typo and lint fix
author
isaacs
<i@izs.me>
Tue, 19 Jun 2012 18:07:59 +0000
(11:07 -0700)
committer
isaacs
<i@izs.me>
Tue, 19 Jun 2012 21:07:48 +0000
(14:07 -0700)
doc/api/cluster.markdown
patch
|
blob
|
history
lib/querystring.js
patch
|
blob
|
history
diff --git
a/doc/api/cluster.markdown
b/doc/api/cluster.markdown
index 7af04ec05caefdc012a50d125f4f925fdbd2cf83..d0e4de3c6f273fb250e06643459f88fa691534d5 100644
(file)
--- 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
work
er,
+1. `server.listen({fd: 7})` Because the message is passed to the
mast
er,
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 7ccd8cf49adf823c146e844141d7800b6905ec61..12b6013d525cf1adef52cd71ee84f0a7c5e21c1a 100644
(file)
--- 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));