mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
1d1cd28ada
Correct fix for. On announce, work->lastannounce_time is set to current time t, so we must check that 't >= work->lastannounce_time', not 't > work->lastannounce_time' otherwise we end up not doing the comparison, and always doing the announce. Reported by Reuben Farrelly BUG: https://bugzilla.samba.org/show_bug.cgi?id=13620 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Revviewe-by: Andreas Schneider <asn@samba.org>