openbsd-ports/net/vsftpd/patches/patch-sysutil_c
couderc e0ef69600d Import of vsftpd
vsftpd is an FTP server, or daemon. The "vs" stands for Very Secure.
It has been written with security in mind, and carefully designed to
be resilient to attack.
2003-02-19 15:42:02 +00:00

13 lines
513 B
Plaintext

$OpenBSD: patch-sysutil_c,v 1.1.1.1 2003/02/19 15:42:02 couderc Exp $
--- sysutil.c.orig Fri Oct 25 19:32:52 2002
+++ sysutil.c Sun Feb 2 19:43:03 2003
@@ -1312,7 +1312,7 @@ vsf_sysutil_statbuf_get_sortkey_mtime(
* more recent dates appear later in the alphabet! Most notably, we must
* make sure we pad to the same length with 0's
*/
- snprintf(intbuf, sizeof(intbuf), "%030ld", p_stat->st_mtime);
+ snprintf(intbuf, sizeof(intbuf), "%030ld", (long int) p_stat->st_mtime);
return intbuf;
}