diff options
author | irungentoo <irungentoo@gmail.com> | 2016-03-01 15:17:00 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2016-03-01 15:17:00 -0500 |
commit | c510e2407f8caa880f38d77386cebc52ae7c1360 (patch) | |
tree | e1b2169532b337771fd6b1b56395326537f9bc1a /other | |
parent | 72b1a17cc28c9a5a653823336bf0a495f6f271b1 (diff) | |
parent | a8873ed4fdc6f76723c7a581d1a8bef596cf6dc3 (diff) |
Merge branch 'master' of https://github.com/susnux/toxcore into susnux-master
Diffstat (limited to 'other')
-rw-r--r-- | other/bootstrap_daemon/src/log.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/other/bootstrap_daemon/src/log.c b/other/bootstrap_daemon/src/log.c index a0ac20d9..ee3a1421 100644 --- a/other/bootstrap_daemon/src/log.c +++ b/other/bootstrap_daemon/src/log.c | |||
@@ -75,6 +75,8 @@ int level_syslog(LOG_LEVEL level) | |||
75 | case LOG_LEVEL_ERROR: | 75 | case LOG_LEVEL_ERROR: |
76 | return LOG_ERR; | 76 | return LOG_ERR; |
77 | } | 77 | } |
78 | |||
79 | return LOG_INFO; | ||
78 | } | 80 | } |
79 | 81 | ||
80 | void log_syslog(LOG_LEVEL level, const char *format, va_list args) | 82 | void log_syslog(LOG_LEVEL level, const char *format, va_list args) |
@@ -92,6 +94,8 @@ FILE *level_stdout(LOG_LEVEL level) | |||
92 | case LOG_LEVEL_ERROR: | 94 | case LOG_LEVEL_ERROR: |
93 | return stderr; | 95 | return stderr; |
94 | } | 96 | } |
97 | |||
98 | return stdout; | ||
95 | } | 99 | } |
96 | 100 | ||
97 | void log_stdout(LOG_LEVEL level, const char *format, va_list args) | 101 | void log_stdout(LOG_LEVEL level, const char *format, va_list args) |