goto out;
}
- while ((dname = ReadDirName(dir_hnd, NULL, &talloced))
- != NULL)
- {
+ while ((dname = ReadDirName(dir_hnd, &talloced)) != NULL) {
struct smb_filename *smb_dname =
synthetic_smb_fname(frame,
dname,
goto out;
}
- while ((dname = ReadDirName(dir_hnd, NULL, &talloced))
- != NULL)
- {
+ while ((dname = ReadDirName(dir_hnd, &talloced)) != NULL) {
struct smb_filename *smb_dname = NULL;
if (cnt >= jn_remain) {