summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:42:27 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:42:27 +0100
commit5bc4c0663576fd99bb06068e6dfd624690865c89 (patch)
treee1e90e6966abebf960ed9c9d4ed0937be22961ff /trackerlogic.c
parent33b095eb26ab8be3af48d8bd034262cd5ab03a04 (diff)
Be stricter about const char*, Wwrite-strings will warn in the future and we don't want to try to overwrite string literals
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
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) {
550} 550}
551#endif 551#endif
552 552
553void exerr(char *message) { 553void exerr(const char *message) {
554 fprintf(stderr, "%s\n", message); 554 fprintf(stderr, "%s\n", message);
555 exit(111); 555 exit(111);
556} 556}