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 /ot_http.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 'ot_http.h')
| -rw-r--r-- | ot_http.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -37,7 +37,7 @@ ssize_t http_handle_request(const int64_t s, struct ot_workstruct *ws); | |||
| 37 | ssize_t http_sendiovecdata(const int64_t s, struct ot_workstruct *ws, size_t iovec_entries, struct iovec *iovector, int is_partial); | 37 | ssize_t http_sendiovecdata(const int64_t s, struct ot_workstruct *ws, size_t iovec_entries, struct iovec *iovector, int is_partial); |
| 38 | ssize_t http_issue_error(const int64_t s, struct ot_workstruct *ws, int code); | 38 | ssize_t http_issue_error(const int64_t s, struct ot_workstruct *ws, int code); |
| 39 | 39 | ||
| 40 | extern char *g_stats_path; | 40 | extern const char *g_stats_path; |
| 41 | extern ssize_t g_stats_path_len; | 41 | extern ssize_t g_stats_path_len; |
| 42 | 42 | ||
| 43 | #endif | 43 | #endif |
