summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-24 08:26:53 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-25 01:39:41 +0200
commite44b5bdb2cc756620517a7341e1ad81d606e359d (patch)
tree2f0cb407a7b1a6b628ea2a59d79a2b77563462a8 /source4/librpc/rpc
parent81bc57d39536516d64fd59978e300d64eac1d97c (diff)
downloadsamba-e44b5bdb2cc756620517a7341e1ad81d606e359d.tar.gz
samba-e44b5bdb2cc756620517a7341e1ad81d606e359d.tar.bz2
samba-e44b5bdb2cc756620517a7341e1ad81d606e359d.zip
s4:librpc/rpc: use dcerpc_req_dequeue() in dcerpc_request_recv_data()
metze
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 155150ed97..759397971a 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -1451,8 +1451,8 @@ static void dcerpc_request_recv_data(struct dcecli_connection *c,
req_done:
/* we've got the full payload */
+ dcerpc_req_dequeue(req);
req->state = RPC_REQUEST_DONE;
- DLIST_REMOVE(c->pending, req);
/*
* We have to look at shipping further requests before calling