diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-21 00:30:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-21 00:30:15 +0000 |
commit | 2bd3a436fd6ed218bced476b502d24f317511fb2 (patch) | |
tree | 6f3ae1d58e9580fec11b192a3114a515867d9e30 /source3/smbd/statcache.c | |
parent | ac4d2775618a9ac3428d60bf667e3b968d634799 (diff) | |
download | samba-2bd3a436fd6ed218bced476b502d24f317511fb2.tar.gz samba-2bd3a436fd6ed218bced476b502d24f317511fb2.tar.xz samba-2bd3a436fd6ed218bced476b502d24f317511fb2.zip |
Fix for updating of print queues changed from a local box. Essentially,
this makes sure that the change messages sent to ourselves are handled
synchronously w.r.t. other smb packets incoming.
Jeremy.
(This used to be commit 78a13074455618308d048d1c69f62e660988eb90)
Diffstat (limited to 'source3/smbd/statcache.c')
-rw-r--r-- | source3/smbd/statcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index 8200c277b32..4c885f34f1c 100644 --- a/source3/smbd/statcache.c +++ b/source3/smbd/statcache.c @@ -218,7 +218,7 @@ BOOL stat_cache_lookup(connection_struct *conn, char *name, char *dirpath, */ BOOL reset_stat_cache( void ) { - static BOOL initialised; + static BOOL initialised = False; if (!lp_stat_cache()) return True; if (!initialised) { |