From bf42081766a07842050e6dc8c4595d43b5358bbf Mon Sep 17 00:00:00 2001 From: Thomas Osterried Date: Thu, 22 Jan 2009 11:58:33 +0000 Subject: #BIN upload now preserves the file time. --- call/dostime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'call/dostime.c') diff --git a/call/dostime.c b/call/dostime.c index defbaf4..ea266a4 100644 --- a/call/dostime.c +++ b/call/dostime.c @@ -40,7 +40,7 @@ int date_dos2unix(unsigned short time, unsigned short date) /* Convert linear UNIX date to a MS-DOS time/date pair. */ -void date_unix2dos(int unix_date, unsigned short *time, +void date_unix2dos(time_t unix_date, unsigned short *time, unsigned short *date) { int day, year, nl_day, month; @@ -84,7 +84,7 @@ int yapp2unix(char *ytime) /* Convert unix time to 8 character yapp hex format */ -void unix2yapp(int unix_date, char *buffer) +void unix2yapp(time_t unix_date, char *buffer) { unsigned short time, date; date_unix2dos(unix_date, &time, &date); -- cgit v1.2.3