projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09dbb4
)
`DataDir' and `LogFile' were not valid in `Client' mode. This fixes it..
author
octo
<octo>
Tue, 24 Jan 2006 09:35:43 +0000
(09:35 +0000)
committer
octo
<octo>
Tue, 24 Jan 2006 09:35:43 +0000
(09:35 +0000)
src/configfile.c
patch
|
blob
|
history
diff --git
a/src/configfile.c
b/src/configfile.c
index
988f731
..
be90dd3
100644
(file)
--- a/
src/configfile.c
+++ b/
src/configfile.c
@@
-70,8
+70,8
@@
static cf_mode_item_t cf_mode_list[] =
{"Server", NULL, MODE_CLIENT },
{"Port", NULL, MODE_CLIENT | MODE_SERVER },
{"PIDFile", NULL, MODE_CLIENT | MODE_SERVER | MODE_LOCAL},
- {"DataDir", NULL, MODE_
SERVER
| MODE_SERVER | MODE_LOCAL},
- {"LogFile", NULL, MODE_
SERVER
| MODE_SERVER | MODE_LOCAL}
+ {"DataDir", NULL, MODE_
CLIENT
| MODE_SERVER | MODE_LOCAL},
+ {"LogFile", NULL, MODE_
CLIENT
| MODE_SERVER | MODE_LOCAL}
};
static int cf_mode_num = 5;