diff options
author | Andreas Schneider <asn@samba.org> | 2012-08-28 14:17:22 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-08-28 16:38:55 +0200 |
commit | ba862f47d78e0077d3e01dd84635b76850314436 (patch) | |
tree | 6bc7be645beac3b8859733b2cf16b9199cb2d121 | |
parent | 9e441c4ed98b1a2b83069ad5fa54b2b30dc75598 (diff) | |
download | samba-ba862f47d78e0077d3e01dd84635b76850314436.tar.gz samba-ba862f47d78e0077d3e01dd84635b76850314436.tar.bz2 samba-ba862f47d78e0077d3e01dd84635b76850314436.zip |
s3-smbd: Fix flooding the logs with records we don't find in pcap.
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Aug 28 16:38:55 CEST 2012 on sn-devel-104
-rw-r--r-- | source3/smbd/server_reload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c index e5d7102744..3a8f5bb920 100644 --- a/source3/smbd/server_reload.c +++ b/source3/smbd/server_reload.c @@ -98,7 +98,7 @@ void delete_and_reload_printers(struct tevent_context *ev, pname = lp_printername(session_info, snum); /* check printer, but avoid removing non-autoloaded printers */ - if (!pcap_printername_ok(pname) && lp_autoloaded(snum)) { + if (lp_autoloaded(snum) && !pcap_printername_ok(pname)) { DEBUG(3, ("removing stale printer %s\n", pname)); if (is_printer_published(session_info, session_info, |