Style fix

This commit is contained in:
sin 2014-10-22 17:31:08 +01:00
parent 0e214e23b7
commit 1c467fce7a

View file

@ -516,7 +516,7 @@ forgethist(void)
{
struct history *hist;
while (!SLIST_EMPTY(&histhead)) {
while (SLIST_EMPTY(&histhead) == 0) {
hist = SLIST_FIRST(&histhead);
SLIST_REMOVE_HEAD(&histhead, entry);
free(hist);