Skip to content

Commit c915351

Browse files
committed
socket: Use a backwards-compatible way to deal with , before __VA_ARGS__
1 parent fe28a57 commit c915351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int verbose = 0;
9292

9393
#define SOCKET_ERR(level, msg, ...) \
9494
if (verbose >= level) { \
95-
fprintf(stderr, "[socket] " msg __VA_OPT__(,) __VA_ARGS__); \
95+
fprintf(stderr, "[socket] " msg , ## __VA_ARGS__); \
9696
}
9797

9898
void socket_init(void)

0 commit comments

Comments
 (0)