X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9e4a64fd7c67f4a838ca588ee62c81227bdee9f2..46a36afae41f63de654269c8a0b7cf5852a85a14:/src/src/dcc.c diff --git a/src/src/dcc.c b/src/src/dcc.c index 8986dedde..98f978fa9 100644 --- a/src/src/dcc.c +++ b/src/src/dcc.c @@ -272,7 +272,7 @@ if (flushbuffer(sockfd, sendbuf) != 0) /* now send the body */ DEBUG(D_acl) debug_printf("DCC: ***********************************\nDCC: Writing body:\n"); -(void)fseek(data_file, SPOOL_DATA_START_OFFSET, SEEK_SET); +(void)fseek(data_file, spool_data_start_offset(message_id), SEEK_SET); gstring filebuf = { .size = big_buffer_size, .ptr = 0, .s = big_buffer };