]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Cleanup] Remove unused CONTROL_PATHLEN macro 5837/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 13 Jan 2026 11:25:28 +0000 (11:25 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 13 Jan 2026 11:25:28 +0000 (11:25 +0000)
No longer used after reducing hyperscan_cache_file to fixed 64-byte
filename field.

src/libserver/rspamd_control.h

index e2bb7f6cab2b274eb160db54087689fff07dda45..9b50f32f3fed5dfef1fe870ad2180048ae5d66a9 100644 (file)
@@ -63,7 +63,7 @@ enum rspamd_srv_type {
 enum rspamd_log_pipe_type {
        RSPAMD_LOG_PIPE_SYMBOLS = 0,
 };
-#define CONTROL_PATHLEN MIN(PATH_MAX, PIPE_BUF - sizeof(int) * 2 - sizeof(int64_t) * 2)
+
 struct rspamd_control_command {
        enum rspamd_control_type type;
        union {