diff options
author | Luke Leighton <lkcl@samba.org> | 1999-09-12 22:40:27 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-09-12 22:40:27 +0000 |
commit | 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae (patch) | |
tree | 4d26743d5a3ebf5eed678ccd77f67558266dbd5f /source/passdb | |
parent | 4e5eac18d0d9325c8e524fb53b4e049f0893fae7 (diff) | |
download | samba-8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae.tar.gz samba-8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae.tar.xz samba-8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae.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
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/smbpassfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/passdb/smbpassfile.c b/source/passdb/smbpassfile.c index ecf9efe303e..83b0e7ef6b6 100644 --- a/source/passdb/smbpassfile.c +++ b/source/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. |