The branch, v3-6-test has been updated
       via  c6e4a26 s3-rpc_server: remove proto of nonexisting function 
(rpc_pipe_register_commands).
      from  fb85cf6 s3-proto: remove remaining nss_info prototypes to nss_info.h

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit c6e4a26d7b7732130d3b0300e0a84d676d6a81de
Author: Günther Deschner <g...@samba.org>
Date:   Fri Apr 29 22:43:59 2011 +0200

    s3-rpc_server: remove proto of nonexisting function
    (rpc_pipe_register_commands).
    
    Guenther
    (cherry picked from commit c6fe379a4637dd1d5db34cbe4f566d3913b21fd2)

-----------------------------------------------------------------------

Summary of changes:
 source3/include/proto.h                |    4 ----
 source3/rpc_server/srv_pipe_register.c |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/proto.h b/source3/include/proto.h
index fedc951..a8b674b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2725,10 +2725,6 @@ struct ncacn_packet;
 bool create_next_pdu(struct pipes_struct *p);
 bool api_pipe_bind_auth3(struct pipes_struct *p, struct ncacn_packet *pkt);
 bool setup_fault_pdu(struct pipes_struct *p, NTSTATUS status);
-NTSTATUS rpc_pipe_register_commands(int version, const char *clnt,
-                                   const char *srv,
-                                   const struct ndr_syntax_id *interface,
-                                   const struct api_struct *cmds, int size);
 bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax);
 
 /* The following definitions come from rpc_server/srv_pipe_hnd.c  */
diff --git a/source3/rpc_server/srv_pipe_register.c 
b/source3/rpc_server/srv_pipe_register.c
index a6d6542..56d6832 100644
--- a/source3/rpc_server/srv_pipe_register.c
+++ b/source3/rpc_server/srv_pipe_register.c
@@ -197,7 +197,7 @@ NTSTATUS rpc_srv_register(int version, const char *clnt, 
const char *srv,
        rpc_entry = SMB_REALLOC_ARRAY_KEEP_OLD_ON_ERROR(rpc_lookup, struct 
rpc_table, rpc_lookup_size);
        if (NULL == rpc_entry) {
                rpc_lookup_size--;
-               DEBUG(0, ("rpc_pipe_register_commands: memory allocation 
failed\n"));
+               DEBUG(0, ("rpc_srv_register: memory allocation failed\n"));
                return NT_STATUS_NO_MEMORY;
        } else {
                rpc_lookup = rpc_entry;


-- 
Samba Shared Repository

Reply via email to