moved the SMTP payload escape function into Curl_smtp_escape_eob and put

it in smtp.c
This commit is contained in:
Daniel Stenberg
2009-12-30 22:09:43 +00:00
parent 5e6ffe353a
commit a1311e5a24
3 changed files with 68 additions and 56 deletions

View File

@@ -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 */