metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Sep 29 22:15:06 CEST 2011 on sn-devel-104
bool found_size = false;
size_t i;
- if (num_expected == 0) {
- found_status = true;
- found_size = true;
+ if (piov != NULL) {
+ *piov = NULL;
}
if (tevent_req_is_nterror(req, &status)) {
return status;
}
+ if (num_expected == 0) {
+ found_status = true;
+ found_size = true;
+ }
+
status = NT_STATUS(IVAL(state->recv_iov[0].iov_base, SMB2_HDR_STATUS));
body_size = SVAL(state->recv_iov[1].iov_base, 0);