projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sendcommand now uses the admin socket, eliminating any need to touch the config file.
[citadel.git]
/
citadel
/
citserver.c
diff --git
a/citadel/citserver.c
b/citadel/citserver.c
index dd7b1ba2c0bedb282f5a1f91c00debf6fc4640eb..2cca2f8db673de07b15a5e1c9fafffb46c632b6e 100644
(file)
--- a/
citadel/citserver.c
+++ b/
citadel/citserver.c
@@
-993,6
+993,12
@@
void citproto_begin_session() {
}
+void citproto_begin_admin_session() {
+ CC->internal_pgm = 1;
+ cprintf("%d %s Citadel server ADMIN CONNECTION ready.\n", CIT_OK, config.c_nodename);
+}
+
+
void cmd_noop(char *argbuf)
{
cprintf("%d%cok\n", CIT_OK, CtdlCheckExpress() );