projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
df plugin: Fix the duplicate detection.
[collectd.git]
/
src
/
meta_data.c
diff --git
a/src/meta_data.c
b/src/meta_data.c
index
1b58735
..
b6483e8
100644
(file)
--- a/
src/meta_data.c
+++ b/
src/meta_data.c
@@
-250,7
+250,6
@@
void meta_data_destroy (meta_data_t *md) /* {{{ */
if (md == NULL)
return;
if (md == NULL)
return;
- pthread_mutex_destroy(&md->lock);
md_entry_free (md->head);
pthread_mutex_destroy (&md->lock);
free (md);
md_entry_free (md->head);
pthread_mutex_destroy (&md->lock);
free (md);
@@
-489,7
+488,7
@@
int meta_data_get_string (meta_data_t *md, /* {{{ */
if (e->type != MD_TYPE_STRING)
{
if (e->type != MD_TYPE_STRING)
{
- ERROR ("meta_data_get_s
igned_int
: Type mismatch for key `%s'", e->key);
+ ERROR ("meta_data_get_s
tring
: Type mismatch for key `%s'", e->key);
pthread_mutex_unlock (&md->lock);
return (-ENOENT);
}
pthread_mutex_unlock (&md->lock);
return (-ENOENT);
}