git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ac544
)
fixed hash deletion
author
Matthias Kramm
<kramm@quiss.org>
Sun, 8 Mar 2009 15:12:45 +0000
(16:12 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Sun, 8 Mar 2009 15:12:45 +0000
(16:12 +0100)
lib/q.c
patch
|
blob
|
history
diff --git
a/lib/q.c
b/lib/q.c
index
976684e
..
942cfbb
100644
(file)
--- a/
lib/q.c
+++ b/
lib/q.c
@@
-933,7
+933,7
@@
char dict_del(dict_t*h, const void*key)
memset(e, 0, sizeof(dictentry_t));
rfx_free(e);
if(e == head) {
- h->slots[hash] = 0;
+ h->slots[hash] = next;
} else {
assert(prev);
prev->next = next;