[exim-cvs] Compiler quietening

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Compiler quietening
Gitweb: http://git.exim.org/exim.git/commitdiff/35b7b6ff525028eef69cf19d86f77deb1a84b7c9
Commit:     35b7b6ff525028eef69cf19d86f77deb1a84b7c9
Parent:     984702029ad4e6a1686dd801811a68f6034e6b38
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Jun 4 20:11:25 2014 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Wed Jun 4 20:11:25 2014 +0100


    Compiler quietening
---
 src/src/deliver.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/src/src/deliver.c b/src/src/deliver.c
index 3f5800d..c2f769d 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -6497,7 +6497,7 @@ if (addr_senddsn != NULL)
     DEBUG(D_deliver) debug_printf("sending error message to: %s\n", sender_address);


     /* build unique id for MIME boundary */
-    snprintf(boundaryStr, 63, "%d-eximdsn-%d", time(NULL), rand());      
+    snprintf(boundaryStr, 63, "%l-eximdsn-%d", (long) time(NULL), rand());      
     DEBUG(D_deliver) debug_printf("DSN: MIME boundary: %s\n", boundaryStr);


     if (errors_reply_to != NULL) fprintf(f,"Reply-To: %s\n", errors_reply_to);
@@ -6755,7 +6755,7 @@ while (addr_failed != NULL)
 #ifdef EXPERIMENTAL_DSN
       /* generate boundary string and output MIME-Headers */
       uschar boundaryStr[64];
-      snprintf(boundaryStr, 63, "%d-eximdsn-%d", time(NULL), rand());
+      snprintf(boundaryStr, 63, "%l-eximdsn-%d", (long) time(NULL), rand());
       fprintf(f,"Content-Type: multipart/report; report-type=delivery-status; boundary=%s\n", boundaryStr);
       fprintf(f,"MIME-Version: 1.0\n");
 #endif
@@ -7386,7 +7386,7 @@ else if (addr_defer != (address_item *)(+1))
 #ifdef EXPERIMENTAL_DSN
         /* generated boundary string and output MIME-Headers */
         uschar boundaryStr[64];
-        snprintf(boundaryStr, 63, "%d-eximdsn-%d", time(NULL), rand());
+        snprintf(boundaryStr, 63, "%l-eximdsn-%d", (long) time(NULL), rand());
         fprintf(f,"Content-Type: multipart/report; report-type=delivery-status; boundary=%s\n", boundaryStr);
         fprintf(f,"MIME-Version: 1.0\n");
 #endif