diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-01-30 22:15:32 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-01-30 22:18:31 +0100 |
commit | 16fb15b8cbbb24cc66f70e6ac6b560b78caefab1 (patch) | |
tree | 57908d455fe41fbae4facee5caa78dda71c4efcd /samsung-ipc | |
parent | ed4d891a7880db9ddf02fadd69dbf4241f1550c3 (diff) | |
download | external_libsamsung-ipc-16fb15b8cbbb24cc66f70e6ac6b560b78caefab1.zip external_libsamsung-ipc-16fb15b8cbbb24cc66f70e6ac6b560b78caefab1.tar.gz external_libsamsung-ipc-16fb15b8cbbb24cc66f70e6ac6b560b78caefab1.tar.bz2 |
sms: Correct memcpy argument (don't use a pointer to pointer)
Change-Id: I53bc70e83df6c50f64629abb2157cae28b6a0dea
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc')
-rw-r--r-- | samsung-ipc/sms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samsung-ipc/sms.c b/samsung-ipc/sms.c index 10fbf26..991bdca 100644 --- a/samsung-ipc/sms.c +++ b/samsung-ipc/sms.c @@ -37,7 +37,7 @@ unsigned char* ipc_sms_send_msg_pack(struct ipc_sms_send_msg_request *msg, char memset(data, 0, data_length); p = data; - memcpy(p, &msg, sizeof(struct ipc_sms_send_msg_request)); + memcpy(p, msg, sizeof(struct ipc_sms_send_msg_request)); p += sizeof(struct ipc_sms_send_msg_request); memcpy(p, (char*) (smsc + 1), smsc_len); p += smsc_len; |