diff options
-rw-r--r-- | contrib/sendmail/mail.local/mail.local.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/sendmail/mail.local/mail.local.c b/contrib/sendmail/mail.local/mail.local.c index eb075eb..e6d6984 100644 --- a/contrib/sendmail/mail.local/mail.local.c +++ b/contrib/sendmail/mail.local/mail.local.c @@ -1141,10 +1141,11 @@ tryagain: goto err1; } + /* Get the starting offset of the new message for biff. */ + curoff = lseek(mbfd, (off_t) 0, SEEK_END); + if (!nobiff) { - /* Get the starting offset of the new message for biff. */ - curoff = lseek(mbfd, (off_t) 0, SEEK_END); (void) sm_snprintf(biffmsg, sizeof(biffmsg), "%s@%lld\n", name, (LONGLONG_T) curoff); } |