}
}
- if (pkt->pfc_flags & DCERPC_PFC_FLAG_LAST) {
- bool ret = False;
- /*
- * Ok - we finally have a complete RPC stream.
- * Call the rpc command to process it.
- */
-
- /*
- * Process the complete data stream here.
- */
- if (pipe_init_outgoing_data(p)) {
- ret = api_pipe_request(p, pkt);
- }
+ if (!(pkt->pfc_flags & DCERPC_PFC_FLAG_LAST)) {
+ return true;
+ }
- return ret;
+ /*
+ * Ok - we finally have a complete RPC stream.
+ * Call the rpc command to process it.
+ */
+ if (!pipe_init_outgoing_data(p)) {
+ return false;
}
- return True;
+ return api_pipe_request(p, pkt);
}
void process_complete_pdu(struct pipes_struct *p, struct ncacn_packet *pkt)