aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_api_announce.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regex_api_announce.c')
-rw-r--r--src/regex/regex_api_announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex/regex_api_announce.c b/src/regex/regex_api_announce.c
index 8953436a1e..8fded96d2e 100644
--- a/src/regex/regex_api_announce.c
+++ b/src/regex/regex_api_announce.c
@@ -118,7 +118,7 @@ announce_reconnect (struct GNUNET_REGEX_Announcement *a)
am->compression = htons (a->compression);
am->reserved = htons (0);
am->refresh_delay = GNUNET_TIME_relative_hton (a->refresh_delay);
- memcpy (&am[1],
+ GNUNET_memcpy (&am[1],
a->regex,
slen);
GNUNET_MQ_send (a->mq,