1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r1501: One more check for option != 0.

Jeremy.
(This used to be commit a6d0452a2d)
This commit is contained in:
Jeremy Allison 2004-07-14 18:29:12 +00:00 committed by Gerald (Jerry) Carter
parent e571c8a8ac
commit de22eab16d

View File

@ -671,7 +671,11 @@ static BOOL is_monitoring_event(Printer_entry *p, uint16 notify_type,
* might use the flags though instead of the NOTIFY_OPTION_INFO
* --jerry
*/
if (!option) {
return False;
}
if (p->notify.flags)
return is_monitoring_event_flags(
p->notify.flags, notify_type, notify_field);