diff options
author | Gerald Carter <jerry@samba.org> | 2004-08-18 13:55:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:23 -0500 |
commit | 540daf71d8ad189af5dd6d45aa1ce2b3d67da752 (patch) | |
tree | 1885af430423a75226508897152053837f21b596 /source/lib/messages.c | |
parent | dae084d7134ae3f532861210907cd252d0001c9b (diff) | |
download | samba-540daf71d8ad189af5dd6d45aa1ce2b3d67da752.tar.gz |
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
Diffstat (limited to 'source/lib/messages.c')
-rw-r--r-- | source/lib/messages.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/lib/messages.c b/source/lib/messages.c index 8706ede7065..ded3ac95bb4 100644 --- a/source/lib/messages.c +++ b/source/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 |