diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-22 03:41:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:00:59 -0500 |
commit | 7239a85f0a8da51c10ca500408e328b3a84a08b1 (patch) | |
tree | 7673eaa0c71b8aa6c42b8738eba53e429fdb4deb | |
parent | d56c3dfdaac3d58f3272f76adda5f057c137681f (diff) | |
download | samba-7239a85f0a8da51c10ca500408e328b3a84a08b1.tar.gz samba-7239a85f0a8da51c10ca500408e328b3a84a08b1.tar.bz2 samba-7239a85f0a8da51c10ca500408e328b3a84a08b1.zip |
r18804: resume_hnd isn't a ref pointer and can be NULL
metze
(This used to be commit 8736262342611d432d529812bc1f647b8d6cf625)
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index ecb907e72d..d8eb7a662e 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -508,7 +508,9 @@ static WERROR init_srv_share_info_ctr(pipes_struct *p, ZERO_STRUCTP(ctr); - *resume_hnd = 0; + if (resume_hnd) { + *resume_hnd = 0; + } /* Ensure all the usershares are loaded. */ become_root(); |