summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-28 17:02:34 +0100
committerVolker Lendecke <vl@samba.org>2007-12-28 17:02:34 +0100
commit533d6f617efc4dfe1e145785cb9736df07671bdf (patch)
treeaeb094fb712cead751b1e3aa10d85c830a5d931d /source3/rpc_client
parent4cdce5b50e286aab457611d2c634cb79990795fd (diff)
downloadsamba-533d6f617efc4dfe1e145785cb9736df07671bdf.tar.gz
samba-533d6f617efc4dfe1e145785cb9736df07671bdf.tar.bz2
samba-533d6f617efc4dfe1e145785cb9736df07671bdf.zip
Remove static zeros
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_netlogon.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index 26d2124da0..e192e4ca26 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -978,11 +978,12 @@ NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
int validation_level = 3;
const char *workstation_name_slash;
const char *server_name_slash;
- static uint8 zeros[16];
+ uint8 zeros[16];
DOM_CRED clnt_creds;
DOM_CRED ret_creds;
int i;
-
+
+ ZERO_STRUCT(zeros);
ZERO_STRUCT(q);
ZERO_STRUCT(r);
ZERO_STRUCT(ret_creds);
@@ -1084,9 +1085,10 @@ NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
int validation_level = 3;
const char *workstation_name_slash;
const char *server_name_slash;
- static uint8 zeros[16];
+ uint8 zeros[16];
int i;
-
+
+ ZERO_STRUCT(zeros);
ZERO_STRUCT(q);
ZERO_STRUCT(r);