From e786aa553c539e8513af947fbb61daefa2d43ac8 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Tue, 24 Feb 2009 21:40:52 +0000 Subject: fix tilde expansion (eg. ~/Mail); ok gilles@ --- usr.sbin/smtpd/lka.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/smtpd') diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c index 37583b5833a..1bdd443e031 100644 --- a/usr.sbin/smtpd/lka.c +++ b/usr.sbin/smtpd/lka.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka.c,v 1.27 2009/02/22 23:21:40 jacekm Exp $ */ +/* $OpenBSD: lka.c,v 1.28 2009/02/24 21:40:51 jacekm Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard @@ -692,7 +692,6 @@ lka_expand(char *buf, size_t len, struct path *path) if (ret >= len) return ret; pbuf += strlen(pw->pw_dir); - ++p; continue; } -- cgit v1.2.3