git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb07bcd
)
Tidy build for OpenBSD
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 14 Oct 2017 18:56:50 +0000
(19:56 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 14 Oct 2017 18:56:50 +0000
(19:56 +0100)
src/src/dkim_transport.c
patch
|
blob
|
history
diff --git
a/src/src/dkim_transport.c
b/src/src/dkim_transport.c
index 52f87845ed372c650cb9cbdb0d41e007d8d4806d..704307e6f43baa1e949366e3b2e93d81f493579d 100644
(file)
--- a/
src/src/dkim_transport.c
+++ b/
src/src/dkim_transport.c
@@
-43,7
+43,11
@@
dkt_send_file(int out_fd, int in_fd, off_t off
#endif
)
{
+#ifdef OS_SENDFILE
DEBUG(D_transport) debug_printf("send file fd=%d size=%u\n", out_fd, (unsigned)(size - off));
+#else
+DEBUG(D_transport) debug_printf("send file fd=%d\n", out_fd);
+#endif
/*XXX should implement timeout, like transport_write_block_fd() ? */