aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/smtp-dummy.c
diff options
context:
space:
mode:
authorGravatar Thomas Jost <schnouki@schnouki.net>2011-10-03 18:47:27 +0200
committerGravatar David Bremner <bremner@debian.org>2011-11-13 13:48:02 -0400
commitcb7270b27a4cef99fc4a3f5d44c461da5d622605 (patch)
treebbfa07fb3dc214f80bce83df0058b1e0a0e197ea /test/smtp-dummy.c
parent5964a760a5d26f94ea1c262a25f80725877e3445 (diff)
test: make smtp-dummy work with Emacs 24
In Emacs 24, a space is expected after a SMTP response code. If we don't respect that, smtpmail-send-it will wait forever.
Diffstat (limited to 'test/smtp-dummy.c')
-rw-r--r--test/smtp-dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
index 1778a457..3801a5e0 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");