X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fmanager.c;h=b538a9a3ae92007687eff628e135ae85d86be5bb;hp=9c829fdb3bf3a7d175f9ea45c662e21239042f82;hb=c3e31c7ba1d29c9b967035a6d697820114e1c087;hpb=5dbe9f539849a9404a92858e5b70b36408812fbd diff --git a/src/core/manager.c b/src/core/manager.c index 9c829fdb3..b538a9a3a 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -81,6 +81,8 @@ /* Where clients shall send notification messages to */ #define NOTIFY_SOCKET "@/org/freedesktop/systemd1/notify" +#define TIME_T_MAX (time_t)((1UL << ((sizeof(time_t) << 3) - 1)) - 1) + static int manager_setup_notify(Manager *m) { union { struct sockaddr sa;