Skip to content

Commit

Permalink
Log messages for standard exim moan
Browse files Browse the repository at this point in the history
  • Loading branch information
BHYCHIK committed Apr 21, 2016
1 parent 8bc732e commit a3ef639
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/src/moan.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,10 @@ if (check_sender && message_file != NULL && trusted_caller &&

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

BOOL rc = FALSE;

if (sender_address != NULL && sender_address[0] != 0 && !local_error_message)
return moan_send_message(sender_address, ident, eblock, headers,
rc = moan_send_message(sender_address, ident, eblock, headers,
message_file, firstline);

/* Otherwise, we can only log */
Expand Down Expand Up @@ -440,7 +442,7 @@ switch(ident)
break;
}

return FALSE;
return rc;
}


Expand Down

0 comments on commit a3ef639

Please sign in to comment.