summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-07 17:35:09 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-07 17:35:09 -0400
commit6d71058e25c94d44339110dbbf93c8d4895ba91b (patch)
tree5a669f6978d5a46e6acd10a1c93aa57698fea087
parent38987813e2e4a8a1c05e418cc44cacb439ce0354 (diff)
whitespace
-rw-r--r--log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/log.c b/log.c
index cc7f9a4..1be6ffa 100644
--- a/log.c
+++ b/log.c
@@ -155,10 +155,10 @@ void on_tox_log(Tox *tox, TOX_LOG_LEVEL level, const char *path, uint32_t line,
155 uint32_t index = user_data ? *(uint32_t *)user_data : 0; 155 uint32_t index = user_data ? *(uint32_t *)user_data : 0;
156 const char *file = strrchr(path, '/'); 156 const char *file = strrchr(path, '/');
157 157
158 if(level == TOX_LOG_LEVEL_TRACE && !log_tox_trace) 158 if(level == TOX_LOG_LEVEL_TRACE && !log_tox_trace)
159 { 159 {
160 return; 160 return;
161 } 161 }
162 162
163 file = file ? file + 1 : path; 163 file = file ? file + 1 : path;
164 log_printf(L_DEBUG2, "[#%d] %s %s:%d\t%s:\t%s\n", index, tox_log_level_name(level), file, line, func, message); 164 log_printf(L_DEBUG2, "[#%d] %s %s:%d\t%s:\t%s\n", index, tox_log_level_name(level), file, line, func, message);