summaryrefslogtreecommitdiffstats
path: root/source3/lib/messages.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-08-18 13:55:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:23 -0500
commit1842fde7d10a6faccae1a24ebc67f8452a5a828e (patch)
tree1bb8a33a0ef7bea01532731ccbd965f5590e29a2 /source3/lib/messages.c
parent5cd11b7127afed6a1e4e540721fa15d45aec471b (diff)
downloadsamba-1842fde7d10a6faccae1a24ebc67f8452a5a828e.tar.gz
samba-1842fde7d10a6faccae1a24ebc67f8452a5a828e.tar.xz
samba-1842fde7d10a6faccae1a24ebc67f8452a5a828e.zip
r1885: tighten the cache consistency with the ntprinters.tdb entry an the in memory cache associated with open printer handles; also make sure that register_messages_flags() doesn't overwrite the originally registers flags
(This used to be commit 540daf71d8ad189af5dd6d45aa1ce2b3d67da752)
Diffstat (limited to 'source3/lib/messages.c')
-rw-r--r--source3/lib/messages.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 8706ede7065..ded3ac95bb4 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -576,8 +576,10 @@ BOOL message_send_all(TDB_CONTEXT *conn_tdb, int msg_type,
msg_all.msg_flag = FLAG_MSG_GENERAL;
else if (msg_type > 1000 && msg_type < 2000)
msg_all.msg_flag = FLAG_MSG_NMBD;
- else if (msg_type > 2000 && msg_type < 3000)
- msg_all.msg_flag = FLAG_MSG_PRINTING;
+ else if (msg_type > 2000 && msg_type < 2100)
+ msg_all.msg_flag = FLAG_MSG_PRINT_NOTIFY;
+ else if (msg_type > 2100 && msg_type < 3000)
+ msg_all.msg_flag = FLAG_MSG_PRINT_GENERAL;
else if (msg_type > 3000 && msg_type < 4000)
msg_all.msg_flag = FLAG_MSG_SMBD;
else