From: Vsevolod Stakhov Date: Tue, 13 Jan 2026 11:25:28 +0000 (+0000) Subject: [Cleanup] Remove unused CONTROL_PATHLEN macro X-Git-Tag: 4.0.0~201^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f82b101dc47bb669db9e7e734ab8efdb4fe648fa;p=thirdparty%2Frspamd.git [Cleanup] Remove unused CONTROL_PATHLEN macro No longer used after reducing hyperscan_cache_file to fixed 64-byte filename field. --- diff --git a/src/libserver/rspamd_control.h b/src/libserver/rspamd_control.h index e2bb7f6cab..9b50f32f3f 100644 --- a/src/libserver/rspamd_control.h +++ b/src/libserver/rspamd_control.h @@ -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 {