aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';
+ }
+ }