ports/mail/elm/patches/patch-src_mailmsg2_c

12 lines
418 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- src/mailmsg2.c.orig Tue Nov 9 20:43:05 1999
+++ src/mailmsg2.c Fri Oct 26 23:46:56 2007
@@ -1581,7 +1581,7 @@ FILE * write_header_info(filename, headers,
#ifdef MMDF
fprintf(filedesc, MSG_SEPARATOR);
#endif /* MMDF */
- thetime = time((long *) 0);
+ thetime = time((time_t *) 0);
fprintf(filedesc,"From %s %s", username, ctime(&thetime));
#ifdef MMDF
} else if (strcmp(submitmail,mailer) == 0) {