mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
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.
This commit is contained in:
parent
5964a760a5
commit
cb7270b27a
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue