1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

r1501: One more check for option != 0.

Jeremy.
(This used to be commit a6d0452a2d71201309a5abbe3ebc161ae75b17b8)
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

@ -672,6 +672,10 @@ static BOOL is_monitoring_event(Printer_entry *p, uint16 notify_type,
* --jerry
*/
if (!option) {
return False;
}
if (p->notify.flags)
return is_monitoring_event_flags(
p->notify.flags, notify_type, notify_field);