Fix proxy_srvsvc_call().
authorGünther Deschner <gd@samba.org>
Tue, 4 Mar 2008 21:54:14 +0000 (22:54 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 4 Mar 2008 21:54:14 +0000 (22:54 +0100)
Wow, this must have been broken a long time already.

Guenther

source/rpc_server/srv_srvsvc.c

index 25e652c1fdbc5266a1a4fd308570f8e84cb9e861..22fcaffb4e951e0a6e44daf663195d1b15243de0 100644 (file)
@@ -34,13 +34,13 @@ static bool proxy_srvsvc_call(pipes_struct *p, uint8 opnum)
        struct api_struct *fns;
        int n_fns;
 
-       lsarpc_get_pipe_fns(&fns, &n_fns);
+       srvsvc_get_pipe_fns(&fns, &n_fns);
 
        if (opnum >= n_fns)
                return False;
 
        if (fns[opnum].opnum != opnum) {
-               smb_panic("LSA function table not sorted\n");
+               smb_panic("SRVSVC function table not sorted\n");
        }
 
        return fns[opnum].fn(p);