Commit 3b7dc309 authored by Vysheng's avatar Vysheng

Fix for non-binlog version

parent c0e52584
......@@ -355,6 +355,7 @@ void read_secret_chat_file (void) {
P->print_name = talloc (t + 1);
assert (read (fd, P->print_name, t) == t);
P->print_name[t] = 0;
peer_insert_name (P);
assert (read (fd, &E->state, 4) == 4);
assert (read (fd, &E->user_id, 4) == 4);
......
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