diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-31 19:12:19 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-31 20:04:16 +0100 |
commit | 633da98ae69866efb195e00d9a3a22ace6bada66 (patch) | |
tree | 875535f3d2257c4ea5bb97a553b2f1beab4a1590 /toxcore/logger.c | |
parent | 6356eb4e4fe407fa7870f2a685d0d08b5c2ec5bb (diff) |
Add braces to all if statements.
Diffstat (limited to 'toxcore/logger.c')
-rw-r--r-- | toxcore/logger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/logger.c b/toxcore/logger.c index 8e6487c2..c6f4056b 100644 --- a/toxcore/logger.c +++ b/toxcore/logger.c | |||
@@ -54,8 +54,9 @@ void logger_callback_log(Logger *log, logger_cb *function, void *userdata) | |||
54 | void logger_write(Logger *log, LOGGER_LEVEL level, const char *file, int line, const char *func, const char *format, | 54 | void logger_write(Logger *log, LOGGER_LEVEL level, const char *file, int line, const char *func, const char *format, |
55 | ...) | 55 | ...) |
56 | { | 56 | { |
57 | if (!log || !log->callback) | 57 | if (!log || !log->callback) { |
58 | return; | 58 | return; |
59 | } | ||
59 | 60 | ||
60 | /* Format message */ | 61 | /* Format message */ |
61 | char msg[1024]; | 62 | char msg[1024]; |