Closed nefelim4ag closed 8 years ago
P.S. @markfasheh, i've add strcicmp() because db store hash name (in config) with capital letter, but in code lowercase letter used.
Ahh indeed you are correct, we have:
and then this:
and finally we do this when picking a module:
if (strcasecmp(type, m->name) == 0)
break;
Oh bother...
That said, we can still use strcasemp in the dbfile code so I'll just change it to that.
Thanks
Awesome thanks for these patches. Checking the hash vs db in particular has been on my todo list.
I've got them in a branch, I'll cherry pick most of them into master myself. One thing - I'm not sure we need strcimp(). The hash id for each hash will not change unless there's an incompatible change required (in which case we'd treat it as a different hash).