summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0632ace)
raw | patch | inline | side by side (parent: 0632ace)
author | hshopeful <daifeiyahs@163.com> | |
Mon, 20 Apr 2015 12:35:40 +0000 (20:35 +0800) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 20 Apr 2015 15:07:10 +0000 (17:07 +0200) |
In the function meta_data_get_string(), when the type mismatchs,the ERROR statement should be
ERROR ("meta_data_get_string: Type mismatch for key `%s'", e->key);
not
ERROR ("meta_data_get_signed_int: Type mismatch for key `%s'", e->key);
ERROR ("meta_data_get_string: Type mismatch for key `%s'", e->key);
not
ERROR ("meta_data_get_signed_int: Type mismatch for key `%s'", e->key);
src/meta_data.c | patch | blob | history |
diff --git a/src/meta_data.c b/src/meta_data.c
index ea98ba94abf44670583ab47601e39ce6a0f68394..01927531a07b0b0dba1514933f4be9488df0cf0c 100644 (file)
--- a/src/meta_data.c
+++ b/src/meta_data.c
if (e->type != MD_TYPE_STRING)
{
- ERROR ("meta_data_get_signed_int: Type mismatch for key `%s'", e->key);
+ ERROR ("meta_data_get_string: Type mismatch for key `%s'", e->key);
pthread_mutex_unlock (&md->lock);
return (-ENOENT);
}