diff options
author | Simo Sorce <idra@samba.org> | 2010-06-16 09:03:37 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-09-15 12:53:41 +0200 |
commit | 11721874c3bc47fe7612cae611fbe321f683df6f (patch) | |
tree | 6ee69b338f0d599d9c50aa9993d6538bf1bb4e27 /source3/rpc_server | |
parent | 5ccd7a56fa07426c19905d080d6202d7335b4847 (diff) | |
download | samba-11721874c3bc47fe7612cae611fbe321f683df6f.tar.gz samba-11721874c3bc47fe7612cae611fbe321f683df6f.tar.bz2 samba-11721874c3bc47fe7612cae611fbe321f683df6f.zip |
s3-rpc_server: Added debug to see how much data has been read out.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 5ba7f4b785..4329efbc7a 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -895,6 +895,10 @@ NTSTATUS np_read_recv(struct tevent_req *req, ssize_t *nread, if (tevent_req_is_nterror(req, &status)) { return status; } + + DEBUG(10, ("Received %d bytes. There is %smore data outstanding\n", + (int)state->nread, state->is_data_outstanding?"":"no ")); + *nread = state->nread; *is_data_outstanding = state->is_data_outstanding; return NT_STATUS_OK; |