DKIM: avoid use of temporary file for signing
[exim.git] / src / src / transports / autoreply.c
index f07cd83cf7e63ae63c9f34ae8090d348faa601f8..cdc4bdd05694876a47ff4958a29e1e89b99c40cf 100644 (file)
@@ -692,6 +692,7 @@ if (return_message)
     :
     US"------ This is a copy of the message, including all the headers.\n";
   transport_ctx tctx = {
+    fileno(f),
     tblock,
     addr,
     NULL, NULL,
@@ -720,7 +721,7 @@ if (return_message)
 
   fflush(f);
   transport_count = 0;
-  transport_write_message(fileno(f), &tctx, bounce_return_size_limit);
+  transport_write_message(&tctx, bounce_return_size_limit);
   }
 
 /* End the message and wait for the child process to end; no timeout. */