diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-09 09:28:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-09 09:28:54 +0000 |
commit | 1e0f7e71c0f8fa00a675b6476fb1a8f74fbfaa07 (patch) | |
tree | e7989f1ab8ef94a2540d6ecc82db3aaeda380f86 /src/transport | |
parent | e43211d969b27eeb38043b5fd67232c1e593c83d (diff) |
-fixing doxygen, indentation
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/transport_api_address_to_string.c | 11 |
1 files changed, 7 insertions, 4 deletions
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; |