mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r1501: One more check for option != 0.
Jeremy. (This used to be commit a6d0452a2d71201309a5abbe3ebc161ae75b17b8)
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
|
* might use the flags though instead of the NOTIFY_OPTION_INFO
|
||||||
* --jerry
|
* --jerry
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (!option) {
|
||||||
|
return False;
|
||||||
|
}
|
||||||
|
|
||||||
if (p->notify.flags)
|
if (p->notify.flags)
|
||||||
return is_monitoring_event_flags(
|
return is_monitoring_event_flags(
|
||||||
p->notify.flags, notify_type, notify_field);
|
p->notify.flags, notify_type, notify_field);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user