diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2003-10-01 01:49:06 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2003-10-01 01:49:06 +0200 |
commit | b210aa2cfa546d8c31f8c725d1de3050c747bd6e (patch) | |
tree | f18bdb72a4debd06528ddcfa6b8f541d5251cca5 /openbsd-compat/realpath.c | |
parent | [sshd_config] UsePAM defaults to no. (diff) | |
download | openssh-b210aa2cfa546d8c31f8c725d1de3050c747bd6e.tar.xz openssh-b210aa2cfa546d8c31f8c725d1de3050c747bd6e.zip |
- (bal) Fix issues in openbsd-compat/realpath.c
Diffstat (limited to '')
-rw-r--r-- | openbsd-compat/realpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/realpath.c b/openbsd-compat/realpath.c index 77da14e7c..922305ffd 100644 --- a/openbsd-compat/realpath.c +++ b/openbsd-compat/realpath.c @@ -150,7 +150,7 @@ loop: serrno = ENAMETOOLONG; goto err1; } - if (needslash == 0) + if (needslash) strlcat(resolved, "/", MAXPATHLEN); strlcat(resolved, wbuf, MAXPATHLEN); } |