diff --git a/src/daemon/meta_data.c b/src/daemon/meta_data.c
index cb8a195c8a29516784239b131b708a885cca5b45..f87e35e41c78607d1eb3609688d6982c02d341c8 100644 (file)
--- a/src/daemon/meta_data.c
+++ b/src/daemon/meta_data.c
pthread_mutex_lock (&md->lock);
for (e = md->head; e != NULL; e = e->next)
- ++count;
+ ++count;
if (count == 0)
{
*toc = calloc(count, sizeof(**toc));
for (e = md->head; e != NULL; e = e->next)
(*toc)[i++] = strdup(e->key);
-
+
pthread_mutex_unlock (&md->lock);
return count;
} /* }}} int meta_data_toc */
ERROR ("meta_data_get_string: md_strdup failed.");
return (-ENOMEM);
}
-
+
pthread_mutex_unlock (&md->lock);
*value = temp;