]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "Remove a redundant reference to rpc_pipe_state->cli from srv_spoolss"
authorVolker Lendecke <vl@samba.org>
Fri, 25 Apr 2008 14:33:30 +0000 (16:33 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 25 Apr 2008 14:33:30 +0000 (16:33 +0200)
This reverts commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e.

source/rpc_server/srv_spoolss_nt.c

index 85cd98bae1589657cd93af82b63eedc478d85f8a..da1528f41a8af2773ca98aa442a6db248462b06a 100644 (file)
@@ -2609,6 +2609,10 @@ static bool spoolss_connect_to_client(struct rpc_pipe_client **pp_pipe,
                return False;
        }
 
+       /* make sure to save the cli_state pointer.  Keep its own talloc_ctx */
+
+       (*pp_pipe)->cli = the_cli;
+
        return True;
 }