summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20508b8)
raw | patch | inline | side by side (parent: 20508b8)
author | Sven Trenkel <collectd@semidefinite.de> | |
Wed, 9 Dec 2009 15:33:50 +0000 (16:33 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 10 Dec 2009 09:17:18 +0000 (10:17 +0100) |
src/meta_data.c | patch | blob | history |
diff --git a/src/meta_data.c b/src/meta_data.c
index 80b6dd1edee89e5eaca7f759f3d8c27228a4d9d7..6a336c4b67c734b62cf1516c3375b649fd826cac 100644 (file)
--- a/src/meta_data.c
+++ b/src/meta_data.c
meta_entry_t *e;
if ((md == NULL) || (key == NULL))
- return 0;
+ return -EINVAL;
pthread_mutex_lock (&md->lock);
meta_entry_t *e;
if ((md == NULL) || (toc == NULL))
- return -1;
+ return -EINVAL;
pthread_mutex_lock (&md->lock);