Bug: String hash statistics are calculated incorrectly.
Danger: Trivial - Only affects an output display.
Found by: Remcon
Fixed by: Remcon
wouldhave += ( ptr->links * ( ptr->length + 1 ) );
wouldhave += ( ( ptr->links * sizeof(struct hashstr_data) ) + ( ptr->links * ( ptr->length + 1 ) ) );
As Remcon explains it:
The reason it should have it set up like that is because if not being done like this
it would have to use a new string also and there for each link would be its own string and the size of each string should be taken into affect.