diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:01:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:01:37 +0200 |
commit | c014acf3c4ccf03109b0141d6b68d4f464464e19 (patch) | |
tree | 936413646c36985cffeb0da81f4f71d27422c48d /src/exchange/taler-exchange-transfer.c | |
parent | 3ebd0a70b2bba2e64615c0973477a610e117c97a (diff) | |
download | exchange-c014acf3c4ccf03109b0141d6b68d4f464464e19.tar.xz |
always use GNUNET_memcpy
Diffstat (limited to 'src/exchange/taler-exchange-transfer.c')
-rw-r--r-- | src/exchange/taler-exchange-transfer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-transfer.c b/src/exchange/taler-exchange-transfer.c index 5a4aace9c..255fe76a0 100644 --- a/src/exchange/taler-exchange-transfer.c +++ b/src/exchange/taler-exchange-transfer.c @@ -563,9 +563,9 @@ wire_prepare_cb (void *cls, } wpd = GNUNET_malloc (sizeof (struct WirePrepareData) + buf_size); - memcpy (&wpd[1], - buf, - buf_size); + GNUNET_memcpy (&wpd[1], + buf, + buf_size); wpd->buf_size = buf_size; wpd->row_id = rowid; GNUNET_CONTAINER_DLL_insert (wpd_head, |