Skip to content

Commit fe28a57

Browse files
committed
socket: Fix error output
1 parent 5c9f8d6 commit fe28a57

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
@@ -91,7 +91,7 @@
9191
static int verbose = 0;
9292

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

0 commit comments

Comments
 (0)