diff options
author | Jeremy Allison <jra@samba.org> | 2000-09-27 21:57:38 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-09-27 21:57:38 +0000 |
commit | efe9922b43ab3c0d89f55749389a7ec49bc8bd62 (patch) | |
tree | 11201944e8f9f83f87429f5694637539a5b1790a /source3/rpc_server/srv_spoolss_nt.c | |
parent | b43b2e4f8a4be30e3f7aca6f570f5376fd508e3d (diff) | |
download | samba-efe9922b43ab3c0d89f55749389a7ec49bc8bd62.tar.gz samba-efe9922b43ab3c0d89f55749389a7ec49bc8bd62.tar.bz2 samba-efe9922b43ab3c0d89f55749389a7ec49bc8bd62.zip |
Fixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" <jmcd@us.ibm.com>.
Jeremy.
(This used to be commit 563f8b09a810446c658bf58303b5fe998d27bec9)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |