projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b324ebf
)
src/configfile.c: Fix a typo in two error messages.
author
Florian Forster
<octo@huhu.verplant.org>
Tue, 1 Dec 2009 11:18:05 +0000
(12:18 +0100)
committer
Florian Forster
<octo@huhu.verplant.org>
Tue, 1 Dec 2009 11:18:05 +0000
(12:18 +0100)
src/configfile.c
patch
|
blob
|
history
diff --git
a/src/configfile.c
b/src/configfile.c
index
1a957f6
..
2ef5f04
100644
(file)
--- a/
src/configfile.c
+++ b/
src/configfile.c
@@
-927,7
+927,7
@@
int cf_util_get_string (const oconfig_item_t *ci, char **ret_string) /* {{{ */
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
- ERROR ("cf_util_get_string: The %s
plugi
n requires "
+ ERROR ("cf_util_get_string: The %s
optio
n requires "
"exactly one string argument.", ci->key);
return (-1);
}
"exactly one string argument.", ci->key);
return (-1);
}
@@
-950,7
+950,7
@@
int cf_util_get_port_number (const oconfig_item_t *ci) /* {{{ */
{
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
{
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
- ERROR ("cf_util_get_port_number: The %s
plugi
n requires "
+ ERROR ("cf_util_get_port_number: The %s
optio
n requires "
"exactly one string argument.", ci->key);
return (-1);
}
"exactly one string argument.", ci->key);
return (-1);
}