Fixed abort of e.g. comp when draft folder is empty.
authormarkus schnalke <meillo@marmaro.de>
Fri, 3 Feb 2012 09:42:49 +0000 (10:42 +0100)
committermarkus schnalke <meillo@marmaro.de>
Fri, 3 Feb 2012 09:42:49 +0000 (10:42 +0100)
In this case mp->lowoff is 1 but mp->lowmsg equal mp->hghmsg equal 0.
Hence we have an access at mp->msgstats[-1], which corrupted our mem.
Gdb hadn't helped me for this, but valgrind showed me the problem.


No differences found