From 2fd40ea3e74db7bd435e48198f9143f065897aae Mon Sep 17 00:00:00 2001 From: vysheng Date: Mon, 17 Mar 2014 00:45:10 +0400 Subject: [PATCH] structures.h: fixed foolish bug in structures defenition, leading to SIGSEGV --- structures.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/structures.h b/structures.h index 7033872..ad4360f 100644 --- a/structures.h +++ b/structures.h @@ -297,8 +297,10 @@ struct message_media { struct encr_audio encr_audio; struct encr_document encr_document; struct encr_file encr_file; - void *data; - int data_size; + struct { + void *data; + int data_size; + }; }; };