openbsd-ports/mail/mixmaster/patches/patch-Src_mail_c
2003-11-23 18:52:39 +00:00

13 lines
523 B
Plaintext

$OpenBSD: patch-Src_mail_c,v 1.1 2003/11/23 18:52:40 sturm Exp $
--- Src/mail.c.orig 2003-11-23 19:32:51.000000000 +0100
+++ Src/mail.c 2003-11-23 19:34:17.000000000 +0100
@@ -152,7 +152,7 @@ int sendmail(BUFFER *message, char *from
/* Step 2: Stat the file. Wait for ENOENT as a response. */
for (count = 0;; count++) {
- snprintf(path, PATHMAX, "%s%cout.%lu.%u_%lu.%s,S=%lu.txt",
+ snprintf(path, PATHMAX, "%s%cout.%u.%u_%lu.%s,S=%lu.txt",
POOLDIR, DIRSEP, time(NULL),
#ifdef POSIX
getpid(),