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:
authorOleg <oleg.blinov@gmail.com>2016-02-26 10:43:48 +0300
committerkenorb <kenorb@users.noreply.github.com>2019-02-03 00:38:42 +0300
commit8b528222a198ad1bd2be721085343225fbbf7afa (patch)
treebebe5dc0d09cce441d25fb442521b14cb84ec01a
parent16feb59c2ffe7df45b0a00d1fba770441ec1efc9 (diff)
Update structures.c
-rw-r--r--structures.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/structures.c b/structures.c
index 2addd8e..290cc18 100644
--- a/structures.c
+++ b/structures.c
@@ -1312,7 +1312,8 @@ void tglf_fetch_message_media (struct tgl_state *TLS, struct tgl_message_media *
M->type = tgl_message_media_unsupported;
break;
default:
- assert (0);
+ M->type = tgl_message_media_unsupported;
+ break;
}
}