aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index be6d2acc8..6c6887557 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -44,8 +44,8 @@ sendfile_callback (rspamd_io_dispatcher_t *d)
#ifdef HAVE_SENDFILE
# if defined(FREEBSD) || defined(DARWIN)
- #if defined(FREEBSD)
off_t off = 0;
+ #if defined(FREEBSD)
/* FreeBSD version */
if (sendfile (d->sendfile_fd, d->fd, d->offset, 0, NULL, &off, 0) != 0) {
#elif defined(DARWIN)