From d34cadddefa8b4d216eb31c7123e6884497a11b6 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 27 May 2014 11:49:22 +0000 Subject: minor changes --- src/transport/transport_api_address_to_string.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/transport/transport_api_address_to_string.c') diff --git a/src/transport/transport_api_address_to_string.c b/src/transport/transport_api_address_to_string.c index f383a44b4..96b321dea 100644 --- a/src/transport/transport_api_address_to_string.c +++ b/src/transport/transport_api_address_to_string.c @@ -104,7 +104,7 @@ address_response_processor (void *cls, const struct GNUNET_MessageHeader *msg) if (GNUNET_NO == result) { - alucb->cb (alucb->cb_cls, NULL, GNUNET_SYSERR); + alucb->cb (alucb->cb_cls, empty_str, GNUNET_SYSERR); /* expect more replies */ GNUNET_CLIENT_receive (alucb->client, &address_response_processor, alucb, @@ -112,7 +112,6 @@ address_response_processor (void *cls, const struct GNUNET_MessageHeader *msg) return; } - address = (const char *) &atsm[1]; if ( (addr_len > (size - (sizeof (struct AddressToStringResultMessage)))) || (address[addr_len -1] != '\0') ) -- cgit v1.2.3