Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Commit

Permalink
fix build break (macro expansion misplaced comma and incorrect pointer
Browse files Browse the repository at this point in the history
attribute)
  • Loading branch information
andrew chen committed Dec 3, 2018
1 parent 13ac5a2 commit 9d8e366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3644,7 +3644,7 @@ void SetupProcessObject(Environment* env,
#define V(code, _, __) \
do { \
if (IsReverted(SECURITY_REVERT_ ## code)) { \
READONLY_PROPERTY(process, "\x52\x45\x56\x45\x52\x54\x5f" USTR(#code,) True(env->isolate())); \
READONLY_PROPERTY(process, "\x52\x45\x56\x45\x52\x54\x5f" USTR(#code), True(env->isolate())); \
} \
} while (0);
SECURITY_REVERSIONS(V)
Expand Down Expand Up @@ -4357,7 +4357,7 @@ static void StartDebug(Environment* env, const char* path, bool wait) {
env->debugger_agent()->Start(host, debug_port, wait);
if (debugger_running == false) {
PrintErrorString(u8"Starting debugger on %s:%d failed\n",
debug_host.c_str(), debug_port);
host, debug_port);
fflush(stderr);
return;
}
Expand Down

0 comments on commit 9d8e366

Please sign in to comment.