1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

One more small fix in tree.c

This commit is contained in:
Richard Sharpe 0001-01-01 00:00:00 +00:00
parent b0772a1a05
commit 0674d5a2b0

View File

@ -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 */