diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-12-22 18:22:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:40 -0500 |
commit | dba738d04434782a009a5140d15bb8c487aff7b3 (patch) | |
tree | 351f1d0fa0bb8cd9c713e24013bb5b84197e9850 /source4 | |
parent | 9f2945b00d3ceff42991cce57b05cec48fac18c6 (diff) | |
download | samba-dba738d04434782a009a5140d15bb8c487aff7b3.tar.gz samba-dba738d04434782a009a5140d15bb8c487aff7b3.tar.bz2 samba-dba738d04434782a009a5140d15bb8c487aff7b3.zip |
r20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS test
metze
(This used to be commit bbd086f2edf81028f2370be8ce0739144cd64b02)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 6245073a30..288f65e027 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -939,7 +939,7 @@ static struct rpc_request *dcerpc_request_send(struct dcerpc_pipe *p, req->opnum = opnum; req->request_data.length = stub_data->length; req->request_data.data = talloc_reference(req, stub_data->data); - if (req->request_data.data == NULL) { + if (req->request_data.length && req->request_data.data == NULL) { return NULL; } |