projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4708119
)
CONF LOADVAL and CONF STOREVAL are deprecated and probably safe to remove.
author
Art Cancro
<ajc@citadel.org>
Sun, 1 Aug 2021 18:15:24 +0000
(14:15 -0400)
committer
Art Cancro
<ajc@citadel.org>
Sun, 1 Aug 2021 18:15:24 +0000
(14:15 -0400)
citadel/control.c
patch
|
blob
|
history
diff --git
a/citadel/control.c
b/citadel/control.c
index 22f6625582926adf20264dac06bfc6e3754b6e06..9e790e5b07b70946b48dead32f28bebd3e435442 100644
(file)
--- a/
citadel/control.c
+++ b/
citadel/control.c
@@
-641,7
+641,7
@@
void cmd_conf(char *argbuf)
}
// CONF GETVAL - retrieve configuration variables from the database
}
// CONF GETVAL - retrieve configuration variables from the database
- // CONF LOADVAL - same thing but can handle variables bigger than 1 KB
+ // CONF LOADVAL - same thing but can handle variables bigger than 1 KB
(deprecated and probably safe to remove)
else if ( (!strcasecmp(cmd, "GETVAL")) || (!strcasecmp(cmd, "LOADVAL")) ) {
extract_token(confname, argbuf, 1, '|', sizeof confname);
char *v = CtdlGetConfigStr(confname);
else if ( (!strcasecmp(cmd, "GETVAL")) || (!strcasecmp(cmd, "LOADVAL")) ) {
extract_token(confname, argbuf, 1, '|', sizeof confname);
char *v = CtdlGetConfigStr(confname);
@@
-670,7
+670,7
@@
void cmd_conf(char *argbuf)
}
}
}
}
- // CONF STOREVAL - store configuration variables in the database bigger than 1 KB
+ // CONF STOREVAL - store configuration variables in the database bigger than 1 KB
(deprecated and probably safe to remove)
else if (!strcasecmp(cmd, "STOREVAL")) {
if (num_tokens(argbuf, '|') < 3) {
cprintf("%d name and length required\n", ERROR);
else if (!strcasecmp(cmd, "STOREVAL")) {
if (num_tokens(argbuf, '|') < 3) {
cprintf("%d name and length required\n", ERROR);