mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Define a useful macro.
This commit is contained in:
@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
atexit(exitfunc);
|
||||
|
||||
if (DoCalendar || (DoSimpleCalendar && (!NextMode || PsCal))) {
|
||||
if (IsCalendarMode()) {
|
||||
ProduceCalendar();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
#define isempty(c) (isspace(c) || ((c) == '\\'))
|
||||
|
||||
#define IsServerMode() (Daemon < 0)
|
||||
#define IsCalendarMode() (DoCalendar || (DoSimpleCalendar && (!NextMode || PsCal)))
|
||||
|
||||
#define ShouldFork (!DontFork)
|
||||
|
||||
#include "dynbuf.h"
|
||||
|
||||
Reference in New Issue
Block a user