From f983cff792b4e4e0c8a67ef1556173af321c3126 Mon Sep 17 00:00:00 2001 From: Alexander Tarasikov Date: Fri, 13 Jul 2012 16:45:12 +0400 Subject: Fix ussd message corruption --- ss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ss.c') diff --git a/ss.c b/ss.c index eb6b441..3913afd 100644 --- a/ss.c +++ b/ss.c @@ -179,7 +179,7 @@ void ipc_ss_ussd(struct ipc_message_info *info) struct ipc_ss_ussd *ussd = NULL; unsigned char state; - memset(message, 0, sizeof(message) / sizeof(char *)); + memset(message, 0, sizeof(message)); ussd = (struct ipc_ss_ussd *) info->data; -- cgit v1.1