summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-23 22:54:51 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-23 22:54:51 +0000
commitb40db33e2d379be6f585c2ef56525cabbd5ba7b3 (patch)
tree81be420699a8187642a29f20df1d256ce686e31a /src
parent40a7870c98b60832cdfb4f2c520b37f57fc9ef11 (diff)
fix #3589
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_clients.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c
index 975a0ea3f..3cbd80452 100644
--- a/src/transport/gnunet-service-transport_clients.c
+++ b/src/transport/gnunet-service-transport_clients.c
@@ -1464,7 +1464,7 @@ plugin_session_info_cb (void *cls,
msg->plugin_address_len = htons (alen);
name = (char *) &msg[1];
memcpy (name, info->address->transport_name, slen);
- addr = &name[slen + 1];
+ addr = &name[slen];
memcpy (addr, info->address->address, alen);
if (NULL != sync_client)
GNUNET_SERVER_notification_context_unicast (plugin_nc,