diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-19 11:30:52 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-19 11:30:52 +0000 |
commit | 231f7375590110046ed67b7b337ac2e12d257736 (patch) | |
tree | 9c8e33ee06b47203ba8d4a3f1dd617ed041b34c7 /source3/libsmb | |
parent | 9e3198cca7068c5125542d661013c7ea48fb7106 (diff) | |
download | samba-231f7375590110046ed67b7b337ac2e12d257736.tar.gz samba-231f7375590110046ed67b7b337ac2e12d257736.tar.bz2 samba-231f7375590110046ed67b7b337ac2e12d257736.zip |
After a talloc_zero(), we don't need to ZERO_STRUCTP too..
(This used to be commit 4fe8066394143c64c79c052c00f0d747e872103a)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/ntlmssp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index e4398dad17..e1509f6b63 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -307,8 +307,6 @@ NTSTATUS ntlmssp_server_start(NTLMSSP_STATE **ntlmssp_state) return NT_STATUS_NO_MEMORY; } - ZERO_STRUCTP(*ntlmssp_state); - (*ntlmssp_state)->mem_ctx = mem_ctx; (*ntlmssp_state)->get_challenge = get_challenge; @@ -552,8 +550,6 @@ NTSTATUS ntlmssp_client_start(NTLMSSP_CLIENT_STATE **ntlmssp_state) return NT_STATUS_NO_MEMORY; } - ZERO_STRUCTP(*ntlmssp_state); - (*ntlmssp_state)->mem_ctx = mem_ctx; (*ntlmssp_state)->get_global_myname = global_myname; |