projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fbff8
)
Implemented the XYZZY command.
author
Art Cancro
<ajc@citadel.org>
Wed, 23 Jan 2008 18:28:39 +0000
(18:28 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 23 Jan 2008 18:28:39 +0000
(18:28 +0000)
citadel/citserver.c
patch
|
blob
|
history
diff --git
a/citadel/citserver.c
b/citadel/citserver.c
index cc2b83652d8591abcf8d591b34d07311ce889da8..d53ea5db36183477ce7c8699e298e45d9ec2255f 100644
(file)
--- a/
citadel/citserver.c
+++ b/
citadel/citserver.c
@@
-1070,6
+1070,10
@@
void do_command_loop(void) {
cprintf("%d%cok\n", CIT_OK, CtdlCheckExpress() );
}
+ if (!strncasecmp(cmdbuf, "XYZZY", 5)) {
+ cprintf("%d Nothing happens.\n", CIT_OK);
+ }
+
else if (!strncasecmp(cmdbuf, "QNOP", 4)) {
/* do nothing, this command returns no response */
}