Commit eaf35cc6 authored by Vysheng's avatar Vysheng

Fixed error in prev commit

parent 2f0a7b9d
...@@ -228,7 +228,7 @@ void tglq_query_error (long long id) { ...@@ -228,7 +228,7 @@ void tglq_query_error (long long id) {
if (error_code == 420 || error_code == 500) { if (error_code == 420 || error_code == 500) {
int wait; int wait;
if (error_code == 420) { if (error_code == 420) {
if (!strncmp (error, "FLOOD_WAIT_", 11)) { if (strncmp (error, "FLOOD_WAIT_", 11)) {
vlogprintf (E_ERROR, "error = '%s'\n", error); vlogprintf (E_ERROR, "error = '%s'\n", error);
wait = 10; wait = 10;
} else { } else {
......
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