From aaa8cd760516228ec51f902bd47cde3b53fe3b70 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Wed, 17 Feb 2010 17:27:48 +0000 Subject: erf, previous fix to lka crash was still using the wrong define ... --- usr.sbin/smtpd/lka.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/smtpd') 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 @@ -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; -- cgit v1.2.3