diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-25 19:42:27 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-25 19:42:27 +0100 |
| commit | 5bc4c0663576fd99bb06068e6dfd624690865c89 (patch) | |
| tree | e1e90e6966abebf960ed9c9d4ed0937be22961ff /proxy.c | |
| parent | 33b095eb26ab8be3af48d8bd034262cd5ab03a04 (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 'proxy.c')
| -rw-r--r-- | proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -72,7 +72,7 @@ static void *livesync_worker(void *args); | |||
| 72 | static void *streamsync_worker(void *args); | 72 | static void *streamsync_worker(void *args); |
| 73 | static void livesync_proxytell(uint8_t prefix, uint8_t *info_hash, uint8_t *peer); | 73 | static void livesync_proxytell(uint8_t prefix, uint8_t *info_hash, uint8_t *peer); |
| 74 | 74 | ||
| 75 | void exerr(char *message) { | 75 | void exerr(const char *message) { |
| 76 | fprintf(stderr, "%s\n", message); | 76 | fprintf(stderr, "%s\n", message); |
| 77 | exit(111); | 77 | exit(111); |
| 78 | } | 78 | } |
