Skip to content
Permalink
Browse files

Logging: Fix broken logging macros.

  • Loading branch information...
rbtylee committed May 29, 2018
1 parent dcbbfc4 commit 3e6b513504eb9322cede4ddd239854ff239c7be2
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/bin/e_log.h
@@ -27,11 +27,11 @@ EINTERN int e_log_shutdown(void);
#undef WRN
#undef ERR
#undef CRI
#define DBG(...) printf(__VA_ARGS__); putc('\n', stdout)
#define INF(...) printf(__VA_ARGS__); putc('\n', stdout)
#define WRN(...) printf(__VA_ARGS__); putc('\n', stdout)
#define ERR(...) printf(__VA_ARGS__); putc('\n', stdout)
#define CRI(...) printf(__VA_ARGS__); putc('\n', stdout)
#define DBG(...) do { printf(__VA_ARGS__); putc('\n', stdout); } while(0)
#define INF(...) do { printf(__VA_ARGS__); putc('\n', stdout); } while(0)
#define WRN(...) do { printf(__VA_ARGS__); putc('\n', stdout); } while(0)
#define ERR(...) do { printf(__VA_ARGS__); putc('\n', stdout); } while(0)
#define CRI(...) do { printf(__VA_ARGS__); putc('\n', stdout); } while(0)
#endif

#endif

1 comment on commit 3e6b513

@rbtylee

This comment has been minimized.

Copy link
Collaborator Author

rbtylee commented on 3e6b513 May 29, 2018

Another backport.

Please sign in to comment.
You can’t perform that action at this time.