Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logging when linked with C++ binary #16

Merged
merged 7 commits into from
Jun 13, 2020
Prev Previous commit
Next Next commit
Update the function signature in log.c
  • Loading branch information
danielealbano committed Jun 13, 2020
commit bdb39c04caacf67f6c59baed324c588d1828fcfe
2 changes: 1 addition & 1 deletion src/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const char* log_level_to_string(log_level_t level) {
}
}

char* log_message_timestamp(char* t_str, size_t t_str_size) {
char* log_message_timestamp(char* t_str) {
time_t t = time(NULL);
struct tm* tm = localtime(&t);

Expand Down