projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a55e821
)
src/plugin.c: Fixed a function name in an error message.
author
Sebastian Harl
<sh@tokkee.org>
Thu, 30 Jul 2009 15:33:43 +0000
(17:33 +0200)
committer
Sebastian Harl
<sh@tokkee.org>
Tue, 8 Dec 2009 20:13:39 +0000
(21:13 +0100)
src/plugin.c
patch
|
blob
|
history
diff --git
a/src/plugin.c
b/src/plugin.c
index
538ebe5
..
5ca009c
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-173,7
+173,7
@@
static int register_callback (llist_t **list, /* {{{ */
*list = llist_create ();
if (*list == NULL)
{
*list = llist_create ();
if (*list == NULL)
{
- ERROR ("plugin:
create_
register_callback: "
+ ERROR ("plugin: register_callback: "
"llist_create failed.");
destroy_callback (cf);
return (-1);
"llist_create failed.");
destroy_callback (cf);
return (-1);
@@
-183,7
+183,7
@@
static int register_callback (llist_t **list, /* {{{ */
key = strdup (name);
if (key == NULL)
{
key = strdup (name);
if (key == NULL)
{
- ERROR ("plugin:
create_
register_callback: strdup failed.");
+ ERROR ("plugin: register_callback: strdup failed.");
destroy_callback (cf);
return (-1);
}
destroy_callback (cf);
return (-1);
}
@@
-194,7
+194,7
@@
static int register_callback (llist_t **list, /* {{{ */
le = llentry_create (key, cf);
if (le == NULL)
{
le = llentry_create (key, cf);
if (le == NULL)
{
- ERROR ("plugin:
create_
register_callback: "
+ ERROR ("plugin: register_callback: "
"llentry_create failed.");
free (key);
destroy_callback (cf);
"llentry_create failed.");
free (key);
destroy_callback (cf);