fix segfault when there are more than 128 log entries
Merge pull request #340 from doughdemon/logfix

fix segfault when there are more than 128 log entries