From: Stephan Bosch Date: Mon, 21 Feb 2022 20:32:45 +0000 (+0100) Subject: lib-smtp: smtp-client - Move SMTP_BASE_LINE_LENGTH_LIMIT definition to smtp-common.h. X-Git-Tag: 2.3.19~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a79eba26ef4a2945287741d76f88b0059ebe2cb;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: smtp-client - Move SMTP_BASE_LINE_LENGTH_LIMIT definition to smtp-common.h. --- diff --git a/src/lib-smtp/smtp-client-private.h b/src/lib-smtp/smtp-client-private.h index 9f2e563f39..40f50f9de5 100644 --- a/src/lib-smtp/smtp-client-private.h +++ b/src/lib-smtp/smtp-client-private.h @@ -10,7 +10,6 @@ #include "smtp-client-transaction.h" #include "smtp-client-connection.h" -#define SMTP_BASE_LINE_LENGTH_LIMIT (512 - 2) #define SMTP_CLIENT_DATA_CHUNK_SIZE IO_BLOCK_SIZE struct smtp_client_command { diff --git a/src/lib-smtp/smtp-common.h b/src/lib-smtp/smtp-common.h index 2237d3762a..ec95dc0ff4 100644 --- a/src/lib-smtp/smtp-common.h +++ b/src/lib-smtp/smtp-common.h @@ -3,6 +3,12 @@ #include "net.h" +/* + * Limits + */ + +#define SMTP_BASE_LINE_LENGTH_LIMIT (512 - 2) + /* * SMTP protocols */