Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVysheng <mail@vysheng.ru>2015-01-13 14:44:13 +0300
committerVysheng <mail@vysheng.ru>2015-01-13 14:44:13 +0300
commit05e6fd626463aff2f038d237451283dd93bb80d0 (patch)
tree9ec0b98d0d77475f634fc2801af43b60fce35958
parent04791f646811971195a0753f8f1a29dbe2593f91 (diff)
Fixed registration problem
-rw-r--r--queries.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/queries.c b/queries.c
index 2a92ae0..337159d 100644
--- a/queries.c
+++ b/queries.c
@@ -256,10 +256,10 @@ int tglq_query_error (struct tgl_state *TLS, long long id) {
bl_do_set_working_dc (TLS, i);
q->flags &= ~QUERY_ACK_RECEIVED;
//q->session_id = 0;
- struct tgl_dc *DC = q->DC;
- if (!(DC->flags & 4) && !(q->flags & QUERY_FORCE_SEND)) {
- q->session_id = 0;
- }
+ //struct tgl_dc *DC = q->DC;
+ //if (!(DC->flags & 4) && !(q->flags & QUERY_FORCE_SEND)) {
+ q->session_id = 0;
+ //}
q->DC = TLS->DC_working;
TLS->timer_methods->insert (q->ev, 0);
error_handled = 1;