From 48c2619bf82f6a2dbcbeac481a2a8055c212f60b Mon Sep 17 00:00:00 2001 From: vysheng Date: Wed, 15 Jan 2014 16:10:52 +0400 Subject: [PATCH] strutures.c: fixed bad flags in get chat query --- structures.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/structures.c b/structures.c index 81af89b..057d90a 100644 --- a/structures.c +++ b/structures.c @@ -469,12 +469,12 @@ void fetch_chat (struct chat *C) { int version = -1; if (x == CODE_chat) { - unsigned y = fetch_int (); - if (y == CODE_chat_photo_empty) { + unsigned z = fetch_int (); + if (z == CODE_chat_photo_empty) { small.dc = -2; big.dc = -2; } else { - assert (y == CODE_chat_photo); + assert (z == CODE_chat_photo); fetch_file_location (&small); fetch_file_location (&big); }