From: Florian Forster Date: Wed, 22 Jul 2009 08:20:59 +0000 (+0200) Subject: src/meta_data.c: Fix a typo. X-Git-Tag: collectd-4.6.5~27 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=deafbed6154307233c5e7846d13c130f414ea508;p=collectd.git src/meta_data.c: Fix a typo. --- diff --git a/src/meta_data.c b/src/meta_data.c index 2c085e39..10ccd4ba 100644 --- a/src/meta_data.c +++ b/src/meta_data.c @@ -383,7 +383,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);