]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: smtp-client - Move SMTP_BASE_LINE_LENGTH_LIMIT definition to smtp-common.h.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 21 Feb 2022 20:32:45 +0000 (21:32 +0100)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 25 Feb 2022 08:12:27 +0000 (10:12 +0200)
src/lib-smtp/smtp-client-private.h
src/lib-smtp/smtp-common.h

index 9f2e563f39b5aa08249a33c65d71910274475fa9..40f50f9de55f7ef9e8a92cd95b5c63a4d8795c2b 100644 (file)
@@ -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 {
index 2237d3762acc2e4c431db1911d884cf3e7d8ee3a..ec95dc0ff48b508eb67823617d28df6e9bfd9b5e 100644 (file)
@@ -3,6 +3,12 @@
 
 #include "net.h"
 
+/*
+ * Limits
+ */
+
+#define SMTP_BASE_LINE_LENGTH_LIMIT (512 - 2)
+
 /*
  * SMTP protocols
  */