Skip to content

Commit 39b7cde

Browse files
committed
Found bug
1 parent fb65c06 commit 39b7cde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

epilogue/p3dict.c

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ void p3dict_put(struct p3dict* self, char *key, char *value) {
147147
position = p3dict_find(self, self->items[i].key);
148148
self->index[position] = i;
149149
}
150+
151+
position = p3dict_find(self, key);
150152
}
151153

152154
new_value = malloc(strlen(value)+1);

0 commit comments

Comments
 (0)