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:
parent
e571c8a8ac
commit
de22eab16d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user