X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fsmtp-dummy.c;h=86d43162d9750e029b134477ff3ec1f05e101317;hb=f96ddb15f8d0145e1b877eb821e63d36dbabc71a;hp=1778a4577764eb08ee035a8bb8495bd96da4b541;hpb=ac46c6fdc23c0699ec53972a4082588b046559a2;p=notmuch diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c index 1778a457..86d43162 100644 --- a/test/smtp-dummy.c +++ b/test/smtp-dummy.c @@ -37,7 +37,9 @@ #include #include #include -#include +#include +#include +#include #include #include @@ -71,7 +73,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");