diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-24 21:40:52 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-24 21:40:52 +0000 |
commit | e786aa553c539e8513af947fbb61daefa2d43ac8 (patch) | |
tree | e349b46bd6a18dbde3d76f0f4cf94c4a562e65f0 /usr.sbin/smtpd | |
parent | ce5c115dd6f6a47390ca199b09910bb4dc5f35c5 (diff) |
fix tilde expansion (eg. ~/Mail); ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/lka.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <pyr@openbsd.org> @@ -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; } |