diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2018-06-28 21:01:13 -0400 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-30 22:44:18 +0000 |
commit | 2e4cae692e0895ce17e67fb2e1fd899c91fcb675 (patch) | |
tree | 425ccaf3f21f43e2a6fa41989fc1af9446576584 /other/DHT_bootstrap.c | |
parent | deb82006e5532693c07726e2eaedcc38c7bc050d (diff) |
Use our own logging facility to log toxcore's logs
Diffstat (limited to 'other/DHT_bootstrap.c')
-rw-r--r-- | other/DHT_bootstrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c index 637cb442..9cbcca62 100644 --- a/other/DHT_bootstrap.c +++ b/other/DHT_bootstrap.c | |||
@@ -97,7 +97,7 @@ static void manage_keys(DHT *dht) | |||
97 | static void print_log(void *context, Logger_Level level, const char *file, int line, | 97 | static void print_log(void *context, Logger_Level level, const char *file, int line, |
98 | const char *func, const char *message, void *userdata) | 98 | const char *func, const char *message, void *userdata) |
99 | { | 99 | { |
100 | char *strlevel; | 100 | const char *strlevel; |
101 | 101 | ||
102 | switch (level) { | 102 | switch (level) { |
103 | case LOGGER_LEVEL_TRACE: | 103 | case LOGGER_LEVEL_TRACE: |