Skip to content

Commit

Permalink
Fix the way LOG_REDIRECT is handled
Browse files Browse the repository at this point in the history
  • Loading branch information
ela34 committed Aug 28, 2024
1 parent fbe981f commit 9b2cbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define LOG_LEVEL LEVEL_INFO
#endif

#ifdef LOG_REDIRECT
#if LOG_REDIRECT
void peer_log(char *level_tag, const char *file_name, int line_number, const char *fmt, ...);
#define LOG_PRINT(level_tag, fmt, ...) \
peer_log(level_tag, __FILE__, __LINE__, fmt, ##__VA_ARGS__)
Expand Down

0 comments on commit 9b2cbd6

Please sign in to comment.