Skip to content

Commit a9ad851

Browse files
committed
Fix DEBUG_PRINTF variadic macro
1 parent 55da68d commit a9ad851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mysql_bindings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ if (args.Length() > (I) && args[I]->IsFunction()) {\
9090
}
9191

9292
#ifdef DEBUG
93-
#define DEBUG_PRINTF(fmt, ...) fprintf(stdout, fmt, __VA_ARGS__)
93+
#define DEBUG_PRINTF(...) fprintf(stdout, __VA_ARGS__)
9494
#else
95-
#define DEBUG_PRINTF(fmt, ...) (void)0
95+
#define DEBUG_PRINTF(...) (void)0
9696
#endif
9797

9898
/* Backport MakeCallback from Node v0.7.8 */

0 commit comments

Comments
 (0)