From: Matthias Wachs Date: Fri, 27 Apr 2012 13:56:38 +0000 (+0000) Subject: - fix X-Git-Tag: initial-import-from-subversion-38251~13735 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=487c280270c1e8f6d22cb77b651da000d2a53724;p=oweals%2Fgnunet.git - fix --- diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index a195fb7f8..64c2683c8 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c @@ -1041,7 +1041,7 @@ unix_string_to_address (void *cls, const char *addr, uint16_t addrlen, //GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "`%s'\n", tmp); (*buf) = tmp; - (*added) = strlen (tmp); + (*added) = strlen (tmp) + 1; return GNUNET_OK; }