From 5bc4c0663576fd99bb06068e6dfd624690865c89 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 25 Oct 2026 19:42:27 +0100 Subject: Be stricter about const char*, Wwrite-strings will warn in the future and we don't want to try to overwrite string literals --- trackerlogic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.h') diff --git a/trackerlogic.h b/trackerlogic.h index aa10a54..42018c3 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -181,7 +181,7 @@ struct ot_workstruct { void trackerlogic_init(void); void trackerlogic_deinit(void); -void exerr(char *message); +void exerr(const char *message); /* add_peer_to_torrent does only release the torrent bucket if from_sync is set, otherwise it is released in return_peers_for_torrent */ -- cgit v1.3