r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
[ira/wip.git] / source3 / libmsrpc / cac_lsarpc.c
index 7b62b4d4627a6e5607919d6e48cd53e13c2ed5ee..72c429e724791215b085792321aa43324d4ccc87 100644 (file)
@@ -49,7 +49,7 @@ int cac_LsaOpenPolicy(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct LsaOpenP
 
    /*see if there is already an active session on this pipe, if not then open one*/
    if(!hnd->_internal.pipes[PI_LSARPC]) {
-      pipe_hnd = cli_rpc_pipe_open_noauth(&(srv->cli), PI_LSARPC, &(hnd->status));
+      pipe_hnd = cli_rpc_pipe_open_noauth(srv->cli, PI_LSARPC, &hnd->status);
 
       if(!pipe_hnd) {
          hnd->status = NT_STATUS_UNSUCCESSFUL;