From 8f36c545d1bdb6425ade27de3fd5f3802521f1bb Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 10 Feb 2014 23:53:47 +0000 Subject: [PATCH] tuple: make variable lookup case sensitive (ref #60) --- tuple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuple.c b/tuple.c index 04b87a7..d378882 100644 --- a/tuple.c +++ b/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; }