Don't free blockdata for negative DS cache entries.

This commit is contained in:
Simon Kelley committed 2014-03-01 17:58:28 +00:00
1 parent bd9b3cf55b
commit e3f1455850
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -353,7 +353,7 @@ static void from_wire(char *name)
l[len] = '.';
}
if (l != name)
if ((char *)l != name)
*(l-1) = 0;
}