diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2010-02-17 17:27:48 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2010-02-17 17:27:48 +0000 |
commit | aaa8cd760516228ec51f902bd47cde3b53fe3b70 (patch) | |
tree | 4a6dc2e9124f921fc9d1e59b911edff18ff8dd5a /usr.sbin/smtpd | |
parent | e036f265ad06a25efd4f3232e6f18208fcab5713 (diff) |
erf, previous fix to lka crash was still using the wrong define ...
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/lka.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c index ce3bc2944f8..192f83cf333 100644 --- a/usr.sbin/smtpd/lka.c +++ b/usr.sbin/smtpd/lka.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka.c,v 1.100 2010/02/17 13:47:31 gilles Exp $ */ +/* $OpenBSD: lka.c,v 1.101 2010/02/17 17:27:47 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -1031,7 +1031,7 @@ lka_resolve_path(struct smtpd *env, struct lkasession *lkasession, struct path * return 1; } - if (strlen(username) >= MAX_LOCALPART_SIZE) + if (strlen(username) >= MAXLOGNAME) return 0; path->flags |= F_PATH_ACCOUNT; |