mirror of git://git.sysmocom.de/ofono
voicecall: Be more explicit when copying structs
This commit is contained in:
parent
2c79277073
commit
16929cc978
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue