tuple: make variable lookup case sensitive (ref #60)

feature/tap-sh
William Pitcock 2014-02-10 23:53:47 +00:00
parent 8cf58d7ceb
commit 8f36c545d1
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}