diff options
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/ftpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 2b8ba9f..e98fde5 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1406,12 +1406,12 @@ skip: syslog(LOG_INFO|LOG_AUTH, "FTP LOGIN FAILED (HOST) as %s: permission denied.", pw->pw_name); - reply(530, "Permission denied.\n"); + reply(530, "Permission denied."); pw = NULL; return; } if (!auth_timeok(lc, time(NULL))) { - reply(530, "Login not available right now.\n"); + reply(530, "Login not available right now."); pw = NULL; return; } @@ -2383,7 +2383,7 @@ void fatalerror(char *s) { - reply(451, "Error in server: %s\n", s); + reply(451, "Error in server: %s", s); reply(221, "Closing connection due to server error."); dologout(0); /* NOTREACHED */ |