moved all uthash related code into keyhash.c

This commit is contained in:
TLINDEN
2013-11-13 13:06:01 +01:00
parent bdaa7aae46
commit 5a8e3ee8b0
21 changed files with 209 additions and 93 deletions

View File

@@ -229,7 +229,7 @@ int main (int argc, char **argv) {
}
if(usevault == 1) {
pcp_inithashes();
pcphash_init();
vault = pcpvault_init(vaultfile);
if(vault != NULL) {
switch (mode) {
@@ -396,7 +396,7 @@ int main (int argc, char **argv) {
}
}
pcpvault_close(vault);
pcp_cleanhashes();
pcphash_clean();
ucfree(vaultfile);
}
else {