summaryrefslogtreecommitdiff
path: root/source/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-02 18:49:08 +0000
committerJeremy Allison <jra@samba.org>1998-07-02 18:49:08 +0000
commit1925a29c6b355b8358ee99e5b876b6376aa7d628 (patch)
tree6e695369d7a717b7678c908f293db383474832dc /source/smbd/chgpasswd.c
parentce2503fddd7ef9eed89e1a63fd834f13432a9cd6 (diff)
downloadsamba-1925a29c6b355b8358ee99e5b876b6376aa7d628.tar.gz
chgpasswd.c: Fix from Peter Debus <pdebus@turing.une.edu.au> for Digital UNIX
password change core dump bug. nmbd_subnetdb.c: Make namelist_entry_compare() static. nttrans.c: More NT SMB stuff. Jeremy.
Diffstat (limited to 'source/smbd/chgpasswd.c')
-rw-r--r--source/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index e8f3abc4f17..204a4480e93 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -77,7 +77,7 @@ static int findpty(char **slave)
#else /* defined(SVR4) || defined(SUNOS5) */
fstrcpy( line, "/dev/ptyXX" );
- dirp = OpenDir(-1, "/dev", True);
+ dirp = OpenDir(-1, "/dev", False);
if (!dirp) return(-1);
while ((dpname = ReadDirName(dirp)) != NULL) {
if (strncmp(dpname, "pty", 3) == 0 && strlen(dpname) == 5) {