diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-10 16:19:01 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-10 16:19:01 +0000 |
commit | ec83f9d2282f7ad01e80c898ab2fc9a11fa1ab3d (patch) | |
tree | 5207a97f61c20e5e52e3301dcd0abd13d6d12341 /ftp | |
parent | f3befbc7163b56af8ce69bdf4d7916100fde4540 (diff) | |
download | ports-ec83f9d2282f7ad01e80c898ab2fc9a11fa1ab3d.tar.gz ports-ec83f9d2282f7ad01e80c898ab2fc9a11fa1ab3d.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/tnftpd/files/patch-src-logwtmp.c | 2 |
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'; + } + } |