neighbor/smbclient: fix double smbc_closedir() call
There is already one call in ReadServers(), which is the correct place to do it.
This commit is contained in:
parent
aa5c5bf14f
commit
d28307e082
@ -149,8 +149,6 @@ ReadServers(NeighborExplorer::List &list, int fd) noexcept
|
||||
smbc_dirent *e;
|
||||
while ((e = smbc_readdir(fd)) != nullptr)
|
||||
ReadEntry(list, *e);
|
||||
|
||||
smbc_closedir(fd);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user