DEBUG(D_deliver) debug_printf("sending error message to: %s\n", sender_address);
/* build unique id for MIME boundary */
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);
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);
- 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
fprintf(f,"Content-Type: multipart/report; report-type=delivery-status; boundary=%s\n", boundaryStr);
fprintf(f,"MIME-Version: 1.0\n");
#endif
- 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
fprintf(f,"Content-Type: multipart/report; report-type=delivery-status; boundary=%s\n", boundaryStr);
fprintf(f,"MIME-Version: 1.0\n");
#endif