Fix daemon notification for short warning periods
Fix daemon notification for short warning periods

When the warning period for notifications is less than 60 seconds
(DAEMON_SLEEP_TIME), the daemon may be at sleep when the appointment
comes up. If that happens, no notification is launched. In stead, the
daemon should launch the notification early.

Addresses GitHub issue #204, part 2.

Signed-off-by: Lars Henriksen <a2fd37141f23d5929304549ae011a7f22ebb96a9@get2net.dk>
Signed-off-by: Lukas Fleischer <c9ca73f8336dcfb037ec2c2abf52d80a6847a5cd@calcurse.org>

lfos/calcurse,lfos/calcurse,lfos/calcurse