From bdb2c12d2ecd47d07acc8ef3f72fcb0215ecc988 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sun, 7 Jan 2001 13:07:26 +0000 Subject: More bug fixen ... (This used to be commit a13b5ef7bba86d42df98b4f493aa2ea9e1caa6c3) --- source3/libsmb/libsmbclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; -- cgit