_smb_setlen_tcp(state->hdr, to_write);
- DEBUG(0,("%s:%s: to_write[%u]\n",
- __location__, __func__, (unsigned)to_write));
+ //DEBUG(0,("%s:%s: to_write[%u]\n",
+ // __location__, __func__, (unsigned)to_write));
/* we make a copy of the vector so that we can modify it */
state->vector = talloc_array(state, struct iovec, 1 + count);
if (tevent_req_nomem(state->vector, req)) {
struct smb_transport_tcp_read_pdu_state);
ssize_t ret;
int sys_errno;
- uint32_t len;
+ //uint32_t len;
ret = read_smb_recv(subreq, state, &state->inbuf, &sys_errno);
TALLOC_FREE(subreq);
return;
}
- len = smb_len_tcp(state->inbuf);
- DEBUG(0,("%s:%s: read ret[%u] len_tcp[%u]\n",
- __location__, __func__, (unsigned)ret, len));
- dump_data(0, state->inbuf, ret);
+ //len = smb_len_tcp(state->inbuf);
+ //DEBUG(0,("%s:%s: read ret[%u] len_tcp[%u]\n",
+ // __location__, __func__, (unsigned)ret, len));
+ //dump_data(0, state->inbuf, ret);
tevent_req_done(req);
}