]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "Actually connect to RPC."
authorGünther Deschner <gd@samba.org>
Tue, 20 May 2008 12:32:14 +0000 (14:32 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 20 May 2008 12:32:14 +0000 (14:32 +0200)
This reverts commit 3082534454ff936ac0b78b5a2c72c9b060e21244.

Conflicts:

source/librpc/rpc/dcerpc.c
source/librpc/rpc/dcerpc.h
source/rpc_parse/parse_rpc.c

source/rpc_parse/parse_rpc.c

index 00ae9d177aa4ddec89d8963ee0470ea2dfed267b..d4ab8f360e8bc102aaa556425e1fa9b1f5a7286a 100644 (file)
@@ -234,21 +234,6 @@ const char *cli_get_pipe_name(int pipe_idx)
        return &pipe_names[pipe_idx].client_pipe[5];
 }
 
-/****************************************************************************
- Return the pipe idx from the syntax.
- ****************************************************************************/
-int cli_get_pipe_idx(const RPC_IFACE *syntax)
-{
-       int i;
-       for (i = 0; pipe_names[i].client_pipe; i++) {
-               if (GUID_equal(&pipe_names[i].abstr_syntax.uuid, &syntax->uuid) &&
-                   pipe_names[i].abstr_syntax.if_version == syntax->if_version)
-                       return i;
-       }
-
-       return -1;
-}
-
 /*******************************************************************
  Inits an RPC_HDR structure.
 ********************************************************************/