diff options
author | arved <arved@FreeBSD.org> | 2004-08-10 16:19:01 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-08-10 16:19:01 +0000 |
commit | a05b4d6942b301142a38fc46ee44b208936a3b8e (patch) | |
tree | b8afb1fce492b5ca61b555bdcdc218cae45e1bd7 /ftp/tnftpd | |
parent | 461aca08a7fafb4de77d0203afd64e55f9723917 (diff) | |
download | FreeBSD-ports-a05b4d6942b301142a38fc46ee44b208936a3b8e.zip FreeBSD-ports-a05b4d6942b301142a38fc46ee44b208936a3b8e.tar.gz |
Fix build with gcc 3.4
PR: 70202
Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
Diffstat (limited to 'ftp/tnftpd')
-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 ce37894..7b667a2 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'; + } + } |