summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-01-07 13:07:26 +0000
committerRichard Sharpe <sharpe@samba.org>2001-01-07 13:07:26 +0000
commitbdb2c12d2ecd47d07acc8ef3f72fcb0215ecc988 (patch)
treefd80fd1da7ce79af4e936c252f77f0bc4bf562c1 /source3
parente646dddfde29d7bce0dd4d7fa7a6fbe43ec84a9b (diff)
downloadsamba-bdb2c12d2ecd47d07acc8ef3f72fcb0215ecc988.tar.gz
samba-bdb2c12d2ecd47d07acc8ef3f72fcb0215ecc988.tar.bz2
samba-bdb2c12d2ecd47d07acc8ef3f72fcb0215ecc988.zip
More bug fixen ...
(This used to be commit a13b5ef7bba86d42df98b4f493aa2ea9e1caa6c3)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/libsmbclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 5c6360354e..2cbc66986e 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -1252,7 +1252,7 @@ static int add_dirent(struct smbc_file *dir, const char *name, const char *comme
}
dir->dir_end = dir->dir_next = dir->dir_list;
-
+
}
else {
@@ -1267,10 +1267,10 @@ static int add_dirent(struct smbc_file *dir, const char *name, const char *comme
}
dir->dir_end = dir->dir_end->next;
- dir->dir_end->next = NULL;
}
+ dir->dir_end->next = NULL;
dir->dir_end->dirent = dirent;
dirent->smbc_type = type;