summaryrefslogtreecommitdiff
path: root/source3/auth/auth_util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-04 09:51:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:43:23 -0500
commit6655e1e997fa96408ce257f1c96773db4551f69f (patch)
tree485a5b6dd5aa1696d74d84c9250573b80da5d6d5 /source3/auth/auth_util.c
parentf5906de76db2ba8c95af3da34a283de3da21ec0f (diff)
downloadsamba-6655e1e997fa96408ce257f1c96773db4551f69f.tar.gz
samba-6655e1e997fa96408ce257f1c96773db4551f69f.tar.bz2
samba-6655e1e997fa96408ce257f1c96773db4551f69f.zip
r18029: More C++ stuff
(This used to be commit 089b51e28cc5e3674e4edf5464c7a15673c5ec0f)
Diffstat (limited to 'source3/auth/auth_util.c')
-rw-r--r--source3/auth/auth_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index c2f32f4f95..1ab9d2a49e 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1374,7 +1374,7 @@ static NTSTATUS make_new_server_info_guest(auth_serversupplied_info **server_inf
struct samu *sampass = NULL;
DOM_SID guest_sid;
BOOL ret;
- static const char zeros[16];
+ static const char zeros[16] = { 0, };
if ( !(sampass = samu_new( NULL )) ) {
return NT_STATUS_NO_MEMORY;
@@ -1691,7 +1691,7 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
auth_serversupplied_info **server_info,
NET_USER_INFO_3 *info3)
{
- static const char zeros[16];
+ static const char zeros[16] = { 0, };
NTSTATUS nt_status = NT_STATUS_OK;
char *found_username;