Skip to content

Commit

Permalink
Added recipient email addresses to log
Browse files Browse the repository at this point in the history
  • Loading branch information
duraseb committed Mar 22, 2016
1 parent b28d523 commit af455b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ deliver(struct qitem *it)
snprintf(errmsg, sizeof(errmsg), "unknown bounce reason");

retry:
syslog(LOG_INFO, "trying delivery");
syslog(LOG_INFO, "<%s> trying delivery", it->addr);

if (it->remote)
error = deliver_remote(it);
Expand All @@ -331,7 +331,7 @@ deliver(struct qitem *it)
switch (error) {
case 0:
delqueue(it);
syslog(LOG_INFO, "delivery successful");
syslog(LOG_INFO, "<%s> delivery successful", it->addr);
exit(EX_OK);

case 1:
Expand Down

0 comments on commit af455b4

Please sign in to comment.