diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 4 |
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; |