diff options
author | Thomas Osterried <thomas@osterried.de> | 2009-01-22 11:58:33 +0000 |
---|---|---|
committer | Thomas Osterried <thomas@osterried.de> | 2009-01-22 11:58:33 +0000 |
commit | bf42081766a07842050e6dc8c4595d43b5358bbf (patch) | |
tree | fdef8692a2cf99bc83ec6179c7de9a82dfc91e36 /call/dostime.c | |
parent | 2ffd1ffccc0a3f54e009f855820594852ffbf0fd (diff) |
#BIN upload now preserves the file time.
Diffstat (limited to 'call/dostime.c')
-rw-r--r-- | call/dostime.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |