summaryrefslogtreecommitdiffstats
path: root/ftp/tnftpd
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-10 16:19:01 +0000
committerarved <arved@FreeBSD.org>2004-08-10 16:19:01 +0000
commita05b4d6942b301142a38fc46ee44b208936a3b8e (patch)
treeb8afb1fce492b5ca61b555bdcdc218cae45e1bd7 /ftp/tnftpd
parent461aca08a7fafb4de77d0203afd64e55f9723917 (diff)
downloadFreeBSD-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.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 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';
+ }
+ }
OpenPOWER on IntegriCloud