if (!rdata || data_len < 22) {
return False;
}
-
+
if (c_time) {
*c_time = interpret_long_date(rdata+0);
}
if (a_time) {
*a_time = interpret_long_date(rdata+8);
}
- if (m_time) {
- *m_time = interpret_long_date(rdata+16);
- }
if (w_time) {
- *w_time = interpret_long_date(rdata+24);
+ *w_time = interpret_long_date(rdata+16);
+ }
+ if (m_time) {
+ *m_time = interpret_long_date(rdata+24);
}
if (mode) {
*mode = SVAL(rdata, 32);
}
if (!srv->no_pathinfo2 &&
- cli_qpathinfo2(targetcli, targetpath, c_time, a_time, m_time, NULL,
- size, mode, ino)) return True;
+ cli_qpathinfo2(targetcli, targetpath,
+ c_time, a_time, m_time, NULL, size, mode, ino)) {
+ return True;
+ }
/* if this is NT then don't bother with the getatr */
if (targetcli->capabilities & CAP_NT_SMBS) {