summaryrefslogtreecommitdiff
path: root/source3/passdb/smbpassfile.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-09-12 22:40:27 +0000
committerLuke Leighton <lkcl@samba.org>1999-09-12 22:40:27 +0000
commitddf33698b517967deaa5e620dd65a2670a7779e6 (patch)
tree6a0ef2da9d5206ed770f2cb77944ca07fec61cf0 /source3/passdb/smbpassfile.c
parent856a3e27405c3d92a56af6914e55af696a517f1c (diff)
downloadsamba-ddf33698b517967deaa5e620dd65a2670a7779e6.tar.gz
samba-ddf33698b517967deaa5e620dd65a2670a7779e6.tar.bz2
samba-ddf33698b517967deaa5e620dd65a2670a7779e6.zip
- initialising mach_passwd_file locks to zero (prev. uninit.)
- cleanup - #defined report to sprintf as it's #defined to another function in other uses of cmd_lsarpc.c (This used to be commit 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae)
Diffstat (limited to 'source3/passdb/smbpassfile.c')
-rw-r--r--source3/passdb/smbpassfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpassfile.c b/source3/passdb/smbpassfile.c
index ecf9efe303..83b0e7ef6b 100644
--- a/source3/passdb/smbpassfile.c
+++ b/source3/passdb/smbpassfile.c
@@ -22,8 +22,8 @@
extern int DEBUGLEVEL;
BOOL global_machine_password_needs_changing = False;
-static int mach_passwd_lock_depth;
-static FILE *mach_passwd_fp;
+static int mach_passwd_lock_depth = 0;
+static FILE *mach_passwd_fp = NULL;
/************************************************************************
Routine to get the name for a trust account file.