git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216769f
)
s3: Fix a "Invalid (state->nread >= 0)" warning
author
Volker Lendecke
<vl@samba.org>
Mon, 5 Mar 2012 14:56:55 +0000
(15:56 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 5 Mar 2012 16:38:16 +0000
(17:38 +0100)
Both read_from_internal_pipe and tstream_readv_pdu_queue_recv return
ssize_t.
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Mar 5 17:38:16 CET 2012 on sn-devel-104
source3/rpc_server/srv_pipe_hnd.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_pipe_hnd.c
b/source3/rpc_server/srv_pipe_hnd.c
index 3616922b9bfe8cc4336318c0ff71f9a4a695ede5..e4172e7252d90f4b9620ce2051aa6c39c12a33ef 100644
(file)
--- a/
source3/rpc_server/srv_pipe_hnd.c
+++ b/
source3/rpc_server/srv_pipe_hnd.c
@@
-687,7
+687,7
@@
struct np_read_state {
struct np_proxy_state *p;
struct np_ipc_readv_next_vector_state next_vector;
- size_t nread;
+ s
s
ize_t nread;
bool is_data_outstanding;
};