Skip to content

Commit cd78369

Browse files
committed
Log messages for standard exim moan
1 parent 860cdda commit cd78369

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
@@ -394,8 +394,10 @@ if (check_sender && message_file && trusted_caller &&
394394

395395
/* If viable sender address, send a message */
396396

397+
BOOL rc = FALSE;
398+
397399
if (sender_address && sender_address[0] && !local_error_message)
398-
return moan_send_message(sender_address, ident, eblock, headers,
400+
rc = moan_send_message(sender_address, ident, eblock, headers,
399401
message_file, firstline);
400402

401403
/* Otherwise, we can only log */
@@ -452,7 +454,7 @@ switch(ident)
452454
break;
453455
}
454456

455-
return FALSE;
457+
return rc;
456458
}
457459

458460

0 commit comments

Comments
 (0)