Enable use of sendfile
[exim.git] / src / src / dkim_transport.c
index 552e1beb17dc2377be89b74658cd4e295dba6582..2aba5605424bdc2262f988cad5898ff9f81533e9 100644 (file)
@@ -58,7 +58,7 @@ if (tls_out.active != out_fd)
   ssize_t copied = 0;
 
   while(copied >= 0 && off < size)
-    copied = sendfile(tctx->u.fd, dkim_fd, &off, size - off);
+    copied = sendfile(out_fd, in_fd, &off, size - off);
   if (copied < 0)
     return FALSE;
   }