aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtp_client.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2018-09-03 19:07:23 +0200
committerGilles Chehade <gilles@poolp.org>2018-09-03 19:07:23 +0200
commit30354d7f7b2277d438edba851ad008284f791978 (patch)
tree84c6184eee2ee3c4d6ca8deb8c9393536a8d889f /smtpd/smtp_client.c
parentsync with OpenBSD (diff)
downloadOpenSMTPD-30354d7f7b2277d438edba851ad008284f791978.tar.xz
OpenSMTPD-30354d7f7b2277d438edba851ad008284f791978.zip
sync with OpenBSD
Diffstat (limited to 'smtpd/smtp_client.c')
-rw-r--r--smtpd/smtp_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/smtpd/smtp_client.c b/smtpd/smtp_client.c
index 8b28f3a6..e1f75437 100644
--- a/smtpd/smtp_client.c
+++ b/smtpd/smtp_client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_client.c,v 1.6 2018/08/30 11:58:01 eric Exp $ */
+/* $OpenBSD: smtp_client.c,v 1.7 2018/09/01 12:03:31 miko Exp $ */
/*
* Copyright (c) 2018 Eric Faurot <eric@openbsd.org>
@@ -420,7 +420,7 @@ smtp_client_state(struct smtp_client *proto, int newstate)
break;
default:
- fatalx("smtp_client_state: unknown state");
+ fatalx("%s: bad state %d", __func__, proto->state);
}
#undef smtp_client_state
}