summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-31 13:14:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:07 -0500
commitbfbd75653581ab21ce3f26b006c00389b7939bd7 (patch)
treea1e416b5e68d769593c32783f0bb50da6c58621a /source3/rpc_server
parente1b117719602f8d52228e63c50021db72f629515 (diff)
downloadsamba-bfbd75653581ab21ce3f26b006c00389b7939bd7.tar.gz
samba-bfbd75653581ab21ce3f26b006c00389b7939bd7.tar.bz2
samba-bfbd75653581ab21ce3f26b006c00389b7939bd7.zip
r24106: Pass fnum instead of buf/offset into get_rpc_pipe_p
(This used to be commit eb353412c60fc21a31530d9678505470ffbf11ce)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index 52518fc714..5dd28af8ab 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1246,10 +1246,8 @@ static BOOL close_internal_rpc_pipe_hnd(void *np_conn)
Find an rpc pipe given a pipe handle in a buffer and an offset.
****************************************************************************/
-smb_np_struct *get_rpc_pipe_p(const char *buf, int where)
+smb_np_struct *get_rpc_pipe_p(uint16 pnum)
{
- int pnum = SVAL(buf,where);
-
if (chain_p) {
return chain_p;
}