fix infinite loop with config handling

This commit is contained in:
Sebastian Krzyszkowiak 2012-03-01 22:46:54 +01:00
parent 334adcf9c0
commit 5fd6b4b912

View file

@ -60,7 +60,7 @@ void AppendToConfig(char* section, char* name, char* value) {
new->next = old->next;
old->next = new;
} else {
old->next = new;
if (old!=new) old->next = new;
}
}