diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/dkim_transport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/src/dkim_transport.c b/src/src/dkim_transport.c index 52f87845e..704307e6f 100644 --- 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() ? */ |