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:
58ca48f
)
node.cc: fix bad assert
author
Trevor Norris
<trev.norris@gmail.com>
Tue, 9 Dec 2014 04:22:49 +0000
(
05:22
+0100)
committer
Bert Belder
<bertbelder@gmail.com>
Tue, 9 Dec 2014 16:57:07 +0000
(17:57 +0100)
It was my mistake to change an assert check. This changes it back to how
the assert was originally done.
Fixes: c131c1f "modules: adding load linked modules feature"
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
src/node.cc
patch
|
blob
|
history
diff --git
a/src/node.cc
b/src/node.cc
index 57dd74f6701c5de83f72609e6c7340a725932c73..2cf6e1ddb8a8565e6b061fcf2360c9386fe51676 100644
(file)
--- a/
src/node.cc
+++ b/
src/node.cc
@@
-2051,7
+2051,7
@@
extern "C" void node_module_register(void* m) {
} else {
// Once node::Init was called we can only register dynamic modules.
// See DLOpen.
- CHECK_
EQ
(modpending, nullptr);
+ CHECK_
NE
(modpending, nullptr);
modpending = mp;
}
}