forked from ariadne/pkgconf
tuple: make variable lookup case sensitive (ref #60)
parent
8cf58d7ceb
commit
8f36c545d1
4
tuple.c
4
tuple.c
|
@ -33,7 +33,7 @@ pkg_tuple_find_global(const char *key)
|
|||
{
|
||||
pkg_tuple_t *tuple = node->data;
|
||||
|
||||
if (!strcasecmp(tuple->key, key))
|
||||
if (!strcmp(tuple->key, key))
|
||||
return tuple->value;
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ pkg_tuple_find(pkg_list_t *list, const char *key)
|
|||
{
|
||||
pkg_tuple_t *tuple = node->data;
|
||||
|
||||
if (!strcasecmp(tuple->key, key))
|
||||
if (!strcmp(tuple->key, key))
|
||||
return tuple->value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue