From e67db0191db01aca6c25a36b05485026cfb309bb Mon Sep 17 00:00:00 2001 From: Trevor Norris Date: Wed, 3 Dec 2014 17:16:31 -0800 Subject: [PATCH] node: fix bad assert 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 --- src/node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index edb546052d4..5a9d0fc12ca 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2062,7 +2062,7 @@ extern "C" void node_module_register(void* m) { } else { // Once node::Init was called we can only register dynamic modules. // See DLOpen. - CHECK_NE(modpending, NULL); + assert(modpending == NULL); modpending = mp; } }