fix(log): add printf format attributes and fix format mismatches

This commit is contained in:
2026-09-21 19:42:44 +02:00
parent 2021afe613
commit 391f76cd56
4 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ bool protocol_send_n_data(ProtocolSession* session, const void* data, size_t dat
if (session->ssl)
wait_events = POLLOUT;
}
log_debug_message(LOG_DEBUG_IO, " Send n Data: %zu", total_bytes_send);
log_debug_message(LOG_DEBUG_IO, " Send n Data: %zd", total_bytes_send);
atomic_fetch_add(&io_bytes_written, (unsigned long long)total_bytes_send);
return true;
}