Merge branch 'collectd-4.7'
[collectd.git] / src / meta_data.c
index d7fe2eb..3a3f5e7 100644 (file)
@@ -409,7 +409,7 @@ int meta_data_get_string (meta_data_t *md, /* {{{ */
     return (-ENOENT);
   }
 
-  if (e->type != MD_TYPE_SIGNED_INT)
+  if (e->type != MD_TYPE_STRING)
   {
     ERROR ("meta_data_get_signed_int: Type mismatch for key `%s'", e->key);
     pthread_mutex_unlock (&md->lock);