summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-19 11:30:52 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-19 11:30:52 +0000
commit231f7375590110046ed67b7b337ac2e12d257736 (patch)
tree9c8e33ee06b47203ba8d4a3f1dd617ed041b34c7 /source3/libsmb
parent9e3198cca7068c5125542d661013c7ea48fb7106 (diff)
downloadsamba-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.c4
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;