Skip to content

Commit a3ef639

Browse files
committed
Log messages for standard exim moan
1 parent 8bc732e commit a3ef639

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/src/moan.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,10 @@ if (check_sender && message_file != NULL && trusted_caller &&
382382

383383
/* If viable sender address, send a message */
384384

385+
BOOL rc = FALSE;
386+
385387
if (sender_address != NULL && sender_address[0] != 0 && !local_error_message)
386-
return moan_send_message(sender_address, ident, eblock, headers,
388+
rc = moan_send_message(sender_address, ident, eblock, headers,
387389
message_file, firstline);
388390

389391
/* Otherwise, we can only log */
@@ -440,7 +442,7 @@ switch(ident)
440442
break;
441443
}
442444

443-
return FALSE;
445+
return rc;
444446
}
445447

446448

0 commit comments

Comments
 (0)