fixed chunk_increment, fixes reuse of already assigned addresses

This commit is contained in:
Martin Willi
2008-06-30 12:33:38 +00:00
parent 7da767f773
commit b119f89a4e
+1 -1
View File
@@ -66,7 +66,7 @@ static void increment_chunk(chunk_t chunk)
{
int i;
for (i = chunk.len - 1; i >= 0; i++)
for (i = chunk.len - 1; i >= 0; i--)
{
if (++chunk.ptr[i] != 0)
{