aboutsummaryrefslogtreecommitdiff
path: root/src/nat/test_nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/test_nat.c')
-rw-r--r--src/nat/test_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/test_nat.c b/src/nat/test_nat.c
index 3205e1f05e..2e14a1ffad 100644
--- a/src/nat/test_nat.c
+++ b/src/nat/test_nat.c
@@ -110,7 +110,7 @@ process_if (void *cls,
return GNUNET_OK;
GNUNET_free_non_null (data->addr);
data->addr = GNUNET_malloc (addrlen);
- memcpy (data->addr, addr, addrlen);
+ GNUNET_memcpy (data->addr, addr, addrlen);
data->addrlen = addrlen;
if (isDefault)
return GNUNET_SYSERR;