X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6fc2909634fb431c65ecfa8b6db4f6519f99b389..b54c3cca7632b31faf33e57f35631e9589551e1a:/test/fakesmtp.c diff --git a/test/fakesmtp.c b/test/fakesmtp.c index 35230957..c4fa3e7c 100644 --- a/test/fakesmtp.c +++ b/test/fakesmtp.c @@ -1,5 +1,4 @@ -/* - * fakesmtp - A fake SMTP server used by the nmh test suite +/* fakesmtp - A fake SMTP server used by the nmh test suite * * This code is Copyright (c) 2012, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -71,7 +70,8 @@ main(int argc, char *argv[]) if (rc == -1) break; /* EOF */ - fprintf(f, "%s\n", line); + fputs(line, f); + putc('\n', f); switch (smtp_state) { case SMTP_DATA: