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 /trackerlogic.h | |
| 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 'trackerlogic.h')
| -rw-r--r-- | trackerlogic.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 181 | 181 | ||
| 182 | void trackerlogic_init(void); | 182 | void trackerlogic_init(void); |
| 183 | void trackerlogic_deinit(void); | 183 | void trackerlogic_deinit(void); |
| 184 | void exerr(char *message); | 184 | void exerr(const char *message); |
| 185 | 185 | ||
| 186 | /* add_peer_to_torrent does only release the torrent bucket if from_sync is set, | 186 | /* add_peer_to_torrent does only release the torrent bucket if from_sync is set, |
| 187 | otherwise it is released in return_peers_for_torrent */ | 187 | otherwise it is released in return_peers_for_torrent */ |
