Skip to content

Commit c510e24

Browse files
committed
Merge branch 'master' of https://github.com/susnux/toxcore into susnux-master
2 parents 72b1a17 + a8873ed commit c510e24

File tree

1 file changed

+4
-0
lines changed
  • other/bootstrap_daemon/src

1 file changed

+4
-0
lines changed

other/bootstrap_daemon/src/log.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ int level_syslog(LOG_LEVEL level)
7575
case LOG_LEVEL_ERROR:
7676
return LOG_ERR;
7777
}
78+
79+
return LOG_INFO;
7880
}
7981

8082
void log_syslog(LOG_LEVEL level, const char *format, va_list args)
@@ -92,6 +94,8 @@ FILE *level_stdout(LOG_LEVEL level)
9294
case LOG_LEVEL_ERROR:
9395
return stderr;
9496
}
97+
98+
return stdout;
9599
}
96100

97101
void log_stdout(LOG_LEVEL level, const char *format, va_list args)

0 commit comments

Comments
 (0)