From 1e0f7e71c0f8fa00a675b6476fb1a8f74fbfaa07 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 9 Jun 2014 09:28:54 +0000 Subject: -fixing doxygen, indentation --- src/transport/transport_api_address_to_string.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 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 a56616ea8..d881f9a08 100644 --- a/src/transport/transport_api_address_to_string.c +++ b/src/transport/transport_api_address_to_string.c @@ -55,12 +55,13 @@ struct GNUNET_TRANSPORT_AddressToStringContext /** * Function called with responses from the service. * - * @param cls our 'struct GNUNET_TRANSPORT_AddressToStringContext*' + * @param cls our `struct GNUNET_TRANSPORT_AddressToStringContext *` * @param msg NULL on timeout or error, otherwise presumably a * message with the human-readable address */ static void -address_response_processor (void *cls, const struct GNUNET_MessageHeader *msg) +address_response_processor (void *cls, + const struct GNUNET_MessageHeader *msg) { struct GNUNET_TRANSPORT_AddressToStringContext *alucb = cls; struct AddressToStringResultMessage *atsm; @@ -70,9 +71,11 @@ address_response_processor (void *cls, const struct GNUNET_MessageHeader *msg) uint32_t addr_len; char *empty_str = ""; - if (msg == NULL) + if (NULL == msg) { - alucb->cb (alucb->cb_cls, NULL, GNUNET_OK); + alucb->cb (alucb->cb_cls, + NULL, + GNUNET_OK); GNUNET_CLIENT_disconnect (alucb->client); GNUNET_free (alucb); return; -- cgit v1.2.3