git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e441c4
)
s3-smbd: Fix flooding the logs with records we don't find in pcap.
author
Andreas Schneider
<asn@samba.org>
Tue, 28 Aug 2012 12:17:22 +0000
(14:17 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 28 Aug 2012 14:38:55 +0000
(16:38 +0200)
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Aug 28 16:38:55 CEST 2012 on sn-devel-104
source3/smbd/server_reload.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server_reload.c
b/source3/smbd/server_reload.c
index e5d71027445c5fa7cd44963005706156fa495a0b..3a8f5bb920bf1654d32f3dcdbf8ce43a0487ee2d 100644
(file)
--- 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,