]> git.pond.sub.org Git - empserver/commit
Abstract from shutdown initiation mechanism:
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 20 Jan 2007 20:40:52 +0000 (20:40 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 20 Jan 2007 20:40:52 +0000 (20:40 +0000)
commit84cfd670ce1cd08ef185e3bea3e2a3e68020df4b
treec9f38c275bff9ebd8b665c7619151c23095a54b9
parent516f42e063b39b3e6a339ae19631786975a0df2c
Abstract from shutdown initiation mechanism:
(shutdown_initiate): New.
(shut): Use it.  Shutdown in zero minutes no longer cancels the
shutdown, it just works.  Use negative argument to cancel.  Logging is
less detailed.
(shutdown_sequence): Internal linkage.

(pr_wall): All callers prefix text it with the same header.  Move it
into the function.
include/server.h
info/shutdown.t
src/lib/commands/shut.c
src/lib/subs/pr.c
src/server/shutdown.c