mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
One more small fix in tree.c
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)
This commit is contained in:
parent
b45c92f31e
commit
7b581a60d2
@ -745,8 +745,6 @@ int main( int argc,
|
||||
|
||||
/* Now, get the items in smb:/// and add them to the tree */
|
||||
|
||||
dirp = (struct smbc_dirent *)dirbuf;
|
||||
|
||||
while ((err = smbc_getdents(dh, (struct smbc_dirent *)dirbuf,
|
||||
sizeof(dirbuf))) != 0) {
|
||||
|
||||
@ -759,6 +757,8 @@ int main( int argc,
|
||||
|
||||
}
|
||||
|
||||
dirp = (struct smbc_dirent *)dirbuf;
|
||||
|
||||
fprintf(stdout, "Dir len: %u\n", err);
|
||||
|
||||
while (err > 0) { /* Extract each entry and make a sub-tree */
|
||||
|
Loading…
x
Reference in New Issue
Block a user