From a1311e5a24e8163876d2d52a422b90d6ba037dd8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 30 Dec 2009 22:09:43 +0000 Subject: moved the SMTP payload escape function into Curl_smtp_escape_eob and put it in smtp.c --- lib/smtp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/smtp.h') diff --git a/lib/smtp.h b/lib/smtp.h index ec0bcfb8b..31de99e23 100644 --- a/lib/smtp.h +++ b/lib/smtp.h @@ -62,4 +62,6 @@ extern const struct Curl_handler Curl_handler_smtps; #define SMTP_EOB_REPL "\x0d\x0a\x2e\x2e" #define SMTP_EOB_REPL_LEN 4 +CURLcode Curl_smtp_escape_eob(struct connectdata *conn, int nread); + #endif /* __SMTP_H */ -- cgit v1.2.3