projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getting service_new.c to compile, albeit it is not yet complete
[oweals/gnunet.git]
/
src
/
util
/
gnunet-service-resolver.c
diff --git
a/src/util/gnunet-service-resolver.c
b/src/util/gnunet-service-resolver.c
index 1ff9ae2981651c52e47056e2afebb97a57d01d12..a87b1f5d05c5b2f0b0321531076944e045be5a9a 100644
(file)
--- a/
src/util/gnunet-service-resolver.c
+++ b/
src/util/gnunet-service-resolver.c
@@
-267,7
+267,7
@@
get_ip_as_string (struct GNUNET_SERVER_Client *client,
{
pos = GNUNET_malloc (sizeof (struct IPCache) + ip_len);
pos->ip = &pos[1];
- memcpy (&pos[1], ip, ip_len);
+
GNUNET_
memcpy (&pos[1], ip, ip_len);
pos->last_request = now;
pos->last_refresh = now;
pos->ip_len = ip_len;