openbsd-ports/mail/elm/patches/patch-src_mailmsg2_c
2007-10-26 21:42:18 +00:00

13 lines
491 B
Plaintext

$OpenBSD: patch-src_mailmsg2_c,v 1.1 2007/10/26 21:50:35 ajacoutot Exp $
--- 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) {