From efe9922b43ab3c0d89f55749389a7ec49bc8bd62 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 27 Sep 2000 21:57:38 +0000 Subject: Fixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" . Jeremy. (This used to be commit 563f8b09a810446c658bf58303b5fe998d27bec9) --- source3/rpc_server/srv_spoolss_nt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 86fa0d108d..c281ccaacc 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -3181,10 +3181,10 @@ uint32 _spoolss_endpageprinter(POLICY_HND *handle) static struct current_user *get_current_user(struct current_user *user, pipes_struct *p) { if (p->ntlmssp_auth_validated) { - memcpy(user, &p->pipe_user, sizeof(user)); + memcpy(user, &p->pipe_user, sizeof(struct current_user)); } else { extern struct current_user current_user; - memcpy(user, ¤t_user, sizeof(user)); + memcpy(user, ¤t_user, sizeof(struct current_user)); } return user; -- cgit