diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-14 19:56:50 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-14 19:56:50 +0100 |
commit | 47c292c9f32228f49ec757aef80d0b406d063827 (patch) | |
tree | fa76d751201cfbc03cf1afbfd66f049b037c1ab0 /src | |
parent | bb07bcd32250965a896b0856dd1b839b5795e2f4 (diff) |
Tidy build for OpenBSD
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() ? */ |