diff options
author | 2012-10-04 12:17:09 +0000 | |
---|---|---|
committer | 2012-10-04 12:17:09 +0000 | |
commit | 550133d97d509b136a795c5f57ffd4e842dae04e (patch) | |
tree | f97d8956821629f2f97c6f3f574ea82d416e6907 | |
parent | Clean up uninitialized warnings from ar9003. (diff) | |
download | wireguard-openbsd-550133d97d509b136a795c5f57ffd4e842dae04e.tar.xz wireguard-openbsd-550133d97d509b136a795c5f57ffd4e842dae04e.zip |
change to from=<...>, to=<...> instead of to=<...> for logging
from gilles@ ok eric@
-rw-r--r-- | usr.sbin/smtpd/util.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/util.c b/usr.sbin/smtpd/util.c index a7f8c08c083..bfd9bd15515 100644 --- a/usr.sbin/smtpd/util.c +++ b/usr.sbin/smtpd/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.84 2012/09/26 19:52:20 eric Exp $ */ +/* $OpenBSD: util.c,v 1.85 2012/10/04 12:17:09 todd Exp $ */ /* * Copyright (c) 2000,2001 Markus Friedl. All rights reserved. @@ -1063,8 +1063,9 @@ log_envelope(const struct envelope *evp, const char *extra, const char *status) if (extra == NULL) extra = ""; - log_info("%016" PRIx64 ": to=<%s@%s>, %s%sdelay=%s, %sstat=%s", - evp->id, evp->dest.user, evp->dest.domain, + log_info("%016" PRIx64 ": from=<%s@%s>, to=<%s@%s>, %s%sdelay=%s, %sstat=%s", + evp->id, evp->sender.user, evp->sender.domain, + evp->dest.user, evp->dest.domain, rcpt, tmp, duration_to_text(time(NULL) - evp->creation), |