Commit f6f6570d authored by Cedric Roux's avatar Cedric Roux

T: minor: don't abort() in textlog.c

This leads to some logs missing in some situations.
Plus it's not user-friendly.
parent 387b4ff2
......@@ -187,7 +187,7 @@ int main(int n, char **v)
while (1) {
event e;
e = get_event(textlog_data.socket, &ebuf, database);
if (e.type == -1) abort();
if (e.type == -1) break;
handle_event(h, e);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment