summaryrefslogtreecommitdiff
path: root/lib/smtp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-02-20 21:56:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-02-20 21:56:48 +0000
commita434cb43e807753730d815096464c9c7cb3f1596 (patch)
treeb07e5774cdd5732f24f55136039f4037fd30a1cc /lib/smtp.h
parent846b926a3fd9078a4fa07f04b0ee4c9253831ce1 (diff)
downloadcurl-a434cb43e807753730d815096464c9c7cb3f1596.tar.gz
- I made the SMTP code expect a 250 response back from the server after the
full DATA has been sent, and I modified the test SMTP server to also send that response. As usual, the DONE operation that is made after a completed transfer is still not doable in a non-blocking way so this waiting for 250 is unfortunately made blockingly.
Diffstat (limited to 'lib/smtp.h')
-rw-r--r--lib/smtp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/smtp.h b/lib/smtp.h
index cc581d4d5..02cd467f5 100644
--- a/lib/smtp.h
+++ b/lib/smtp.h
@@ -37,6 +37,7 @@ typedef enum {
SMTP_MAIL, /* MAIL FROM */
SMTP_RCPT, /* RCPT TO */
SMTP_DATA,
+ SMTP_POSTDATA,
SMTP_QUIT,
SMTP_LAST /* never used */
} smtpstate;