voicecall: Be more explicit when copying structs

This commit is contained in:
Denis Kenzior 2011-01-18 14:11:39 -06:00
parent 2c79277073
commit 16929cc978
1 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,8 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data)
* CDIP doesn't arrive as part of CLCC, always
* re-use from the old call
*/
nc->called_number = oc->called_number;
memcpy(&nc->called_number, &oc->called_number,
sizeof(oc->called_number));
/*
* If the CLIP is not provided and the CLIP never