aboutsummaryrefslogtreecommitdiff
path: root/lib/smtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smtp.h')
-rw-r--r--lib/smtp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/smtp.h b/lib/smtp.h
index 199481a0b..ec0bcfb8b 100644
--- a/lib/smtp.h
+++ b/lib/smtp.h
@@ -58,4 +58,8 @@ extern const struct Curl_handler Curl_handler_smtps;
#define SMTP_EOB "\x0d\x0a\x2e\x0d\x0a"
#define SMTP_EOB_LEN 5
+/* if found in data, replace it with this string instead */
+#define SMTP_EOB_REPL "\x0d\x0a\x2e\x2e"
+#define SMTP_EOB_REPL_LEN 4
+
#endif /* __SMTP_H */