aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-08-10 16:19:01 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-08-10 16:19:01 +0000
commitec83f9d2282f7ad01e80c898ab2fc9a11fa1ab3d (patch)
tree5207a97f61c20e5e52e3301dcd0abd13d6d12341 /ftp
parentf3befbc7163b56af8ce69bdf4d7916100fde4540 (diff)
downloadports-ec83f9d2282f7ad01e80c898ab2fc9a11fa1ab3d.tar.gz
ports-ec83f9d2282f7ad01e80c898ab2fc9a11fa1ab3d.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/tnftpd/files/patch-src-logwtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftp/tnftpd/files/patch-src-logwtmp.c b/ftp/tnftpd/files/patch-src-logwtmp.c
index ce3789457f1a..7b667a2f314d 100644
--- a/ftp/tnftpd/files/patch-src-logwtmp.c
+++ b/ftp/tnftpd/files/patch-src-logwtmp.c
@@ -43,7 +43,7 @@
+ NI_NUMERICHOST);
+ host = hostbuf;
+ if (strlen(host) > UT_HOSTSIZE)
-+ host[UT_HOSTSIZE] = '\0';
++ hostbuf[UT_HOSTSIZE] = '\0';
+ }
+ }