Commit b9350978 authored by vysheng's avatar vysheng

Merge pull request #713 from telegram-wired/master

Fixed random crashes and crash on group link request
parents cf6cb902 21c9df5b
...@@ -2135,7 +2135,6 @@ void print_string_gw (struct tgl_state *TLSR, void *extra, int success, const ch ...@@ -2135,7 +2135,6 @@ void print_string_gw (struct tgl_state *TLSR, void *extra, int success, const ch
} }
if (!success) { print_fail (ev); return; } if (!success) { print_fail (ev); return; }
mprint_start (ev); mprint_start (ev);
mprint_start (ev);
if (!enable_json) { if (!enable_json) {
mprintf (ev, "%s\n", name); mprintf (ev, "%s\n", name);
} else { } else {
...@@ -3166,7 +3165,7 @@ int readline_active; ...@@ -3166,7 +3165,7 @@ int readline_active;
int saved_point; int saved_point;
char *saved_line; char *saved_line;
int prompt_was; static int prompt_was;
void deactivate_readline (void) { void deactivate_readline (void) {
......
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