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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.c') diff --git a/trackerlogic.c b/trackerlogic.c index 52c8c18..0fa7bfb 100644 --- a/trackerlogic.c +++ b/trackerlogic.c @@ -550,7 +550,7 @@ void trackerlogic_add_random_torrents(size_t amount) { } #endif -void exerr(char *message) { +void exerr(const char *message) { fprintf(stderr, "%s\n", message); exit(111); } -- cgit v1.3