[PATCH 13/13] test: make smtp-dummy work with Emacs 24
Thomas Jost
schnouki at schnouki.net
Mon Oct 3 09:47:27 PDT 2011
In Emacs 24, a space is expected after a SMTP response code. If we don't respect
that, smtpmail-send-it will wait forever.
---
test/smtp-dummy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
index 9da8202..021af11 100644
--- a/test/smtp-dummy.c
+++ b/test/smtp-dummy.c
@@ -71,7 +71,7 @@ static int
process_command (FILE *peer, FILE *output, const char *command)
{
if (STRNCMP_LITERAL (command, "EHLO ") == 0) {
- fprintf (peer, "502\r\n");
+ fprintf (peer, "502 not implemented\r\n");
fflush (peer);
} else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
fprintf (peer, "250 localhost\r\n");
--
1.7.6.4
More information about the notmuch
mailing list