From 7b97795e9679a63e41be1766483006ca67e14533 Mon Sep 17 00:00:00 2001
From: Timo Sirainen <timo.sirainen@open-xchange.com>
Date: Wed, 11 Mar 2020 15:43:47 +0200
Subject: [PATCH] managesieve: Change managesieve_max_line_length setting type
 to "size"

---
 src/managesieve/managesieve-settings.c | 2 +-
 src/managesieve/managesieve-settings.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/managesieve/managesieve-settings.c b/src/managesieve/managesieve-settings.c
index 1d9c8f086..6b2aef59a 100644
--- a/src/managesieve/managesieve-settings.c
+++ b/src/managesieve/managesieve-settings.c
@@ -68,7 +68,7 @@ static struct setting_define managesieve_setting_defines[] = {
 	DEF(SET_BOOL, verbose_proctitle),
 	DEF(SET_STR_VARS, rawlog_dir),
 
-	DEF(SET_UINT, managesieve_max_line_length),
+	DEF(SET_SIZE, managesieve_max_line_length),
 	DEF(SET_STR, managesieve_implementation_string),
 	DEF(SET_STR, managesieve_client_workarounds),
 	DEF(SET_STR, managesieve_logout_format),
diff --git a/src/managesieve/managesieve-settings.h b/src/managesieve/managesieve-settings.h
index 194984557..a72338b90 100644
--- a/src/managesieve/managesieve-settings.h
+++ b/src/managesieve/managesieve-settings.h
@@ -15,7 +15,7 @@ struct managesieve_settings {
 	const char *rawlog_dir;
 
 	/* managesieve: */
-	unsigned int managesieve_max_line_length;
+	uoff_t managesieve_max_line_length;
 	const char *managesieve_implementation_string;
 	const char *managesieve_client_workarounds;
 	const char *managesieve_logout_format;
-- 
GitLab