projects
/
cascardo
/
declara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Compara chaves do hash sem distinção de "caixa".
[cascardo/declara.git]
/
lib
/
pmhash.c
diff --git
a/lib/pmhash.c
b/lib/pmhash.c
index
ca9cfca
..
5bada1e
100644
(file)
--- a/
lib/pmhash.c
+++ b/
lib/pmhash.c
@@
-78,7
+78,7
@@
void * pmhash_get(struct pmhash *pmhash, char *key)
for (i = 0; i < pmhash->len; i++) {
if (pmhash->items[i].key == NULL)
return NULL;
- if (!strcmp(pmhash->items[i].key, key))
+ if (!strc
asec
mp(pmhash->items[i].key, key))
return pmhash->items[i].val;
}
return NULL;