diff options
author | 2008-12-21 12:59:05 +0000 | |
---|---|---|
committer | 2008-12-21 12:59:05 +0000 | |
commit | 22ec356688f03f6b50a04a8870b51b607828dcee (patch) | |
tree | 0182b1fd2db95d46897004a275b0d8901b2ee7d5 /usr.sbin/smtpd/makemap.c | |
parent | fix more spelling errors and typos, (diff) | |
download | wireguard-openbsd-22ec356688f03f6b50a04a8870b51b607828dcee.tar.xz wireguard-openbsd-22ec356688f03f6b50a04a8870b51b607828dcee.zip |
Add more compile time checking; fix one warning reported by gcc.
From: Nicholas Marriott <nicholas.marriott@gmail.com>
Diffstat (limited to 'usr.sbin/smtpd/makemap.c')
-rw-r--r-- | usr.sbin/smtpd/makemap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/makemap.c b/usr.sbin/smtpd/makemap.c index 59c46f0cf2f..27e4e3cb160 100644 --- a/usr.sbin/smtpd/makemap.c +++ b/usr.sbin/smtpd/makemap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: makemap.c,v 1.5 2008/12/18 15:19:33 jacekm Exp $ */ +/* $OpenBSD: makemap.c,v 1.6 2008/12/21 12:59:05 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -200,8 +200,7 @@ parse_entry(char *line, size_t len, size_t lineno) key.data = name; key.size = strlen(name) + 1; if (db->get(db, &key, &val, 0) == 0) { - warnx("%s:%zd: duplicate entry for %s", source, lineno, - key.data); + warnx("%s:%zd: duplicate entry for %s", source, lineno, name); return 0; } |