T: minor: don't abort() in textlog.c
This leads to some logs missing in some situations. Plus it's not user-friendly.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user