Fix ussd message corruption
[samsung-ril.git] / ss.c
diff --git a/ss.c b/ss.c
index eb6b441..3913afd 100644 (file)
--- 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;