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 --- proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proxy.c') diff --git a/proxy.c b/proxy.c index a870c63..219d926 100644 --- a/proxy.c +++ b/proxy.c @@ -72,7 +72,7 @@ static void *livesync_worker(void *args); static void *streamsync_worker(void *args); static void livesync_proxytell(uint8_t prefix, uint8_t *info_hash, uint8_t *peer); -void exerr(char *message) { +void exerr(const char *message) { fprintf(stderr, "%s\n", message); exit(111); } -- cgit v1.3