summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-11-18 11:27:31 +0000
committeryar <yar@FreeBSD.org>2004-11-18 11:27:31 +0000
commita6025b1cf112acb2351e4036d4ef3c75f6df07f3 (patch)
tree220b810ef980265ca219f797c0af15d79813e235 /libexec/ftpd/ftpd.c
parent3851ed3f4f751a27179023592a684af66b6ffc9f (diff)
downloadFreeBSD-src-a6025b1cf112acb2351e4036d4ef3c75f6df07f3.zip
FreeBSD-src-a6025b1cf112acb2351e4036d4ef3c75f6df07f3.tar.gz
Fix perror_reply() vs. reply() usage.
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index e98fde5..029f12d 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1962,7 +1962,8 @@ pdata_err:
}
} while (retry <= swaitmax);
if (conerrno != 0) {
- perror_reply(425, "Can't build data connection");
+ reply(425, "Can't build data connection: %s.",
+ strerror(conerrno));
return (NULL);
}
reply(150, "Opening %s mode data connection for '%s'%s.",
OpenPOWER on IntegriCloud