diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-10 12:48:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-10 12:48:35 +0000 |
commit | 815a39088f8f33eece015c371cd4f3a9115f4cc8 (patch) | |
tree | c947348d98a7563ead2fb909a7d37cb251755004 /src/core/gnunet-service-core_clients.c | |
parent | 5add96019deec64775c8229e99dce6fa6d4f8728 (diff) | |
download | gnunet-815a39088f8f33eece015c371cd4f3a9115f4cc8.tar.gz gnunet-815a39088f8f33eece015c371cd4f3a9115f4cc8.zip |
cleaner
Diffstat (limited to 'src/core/gnunet-service-core_clients.c')
-rw-r--r-- | src/core/gnunet-service-core_clients.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c index c9eb587b5..0b1616c97 100644 --- a/src/core/gnunet-service-core_clients.c +++ b/src/core/gnunet-service-core_clients.c | |||
@@ -141,7 +141,7 @@ send_to_client (struct GSC_Client *client, | |||
141 | const struct GNUNET_MessageHeader *msg, | 141 | const struct GNUNET_MessageHeader *msg, |
142 | int can_drop) | 142 | int can_drop) |
143 | { | 143 | { |
144 | #if DEBUG_CORE_CLIENT | 144 | #if DEBUG_CORE |
145 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 145 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
146 | "Preparing to send %u bytes of message of type %u to client.\n", | 146 | "Preparing to send %u bytes of message of type %u to client.\n", |
147 | (unsigned int) ntohs (msg->size), | 147 | (unsigned int) ntohs (msg->size), |
@@ -220,7 +220,7 @@ send_to_all_clients (const struct GNUNET_MessageHeader *msg, | |||
220 | ( (0 != (options & GNUNET_CORE_OPTION_SEND_FULL_INBOUND)) && | 220 | ( (0 != (options & GNUNET_CORE_OPTION_SEND_FULL_INBOUND)) && |
221 | (GNUNET_YES == type_match (type, c)) ) ) ) | 221 | (GNUNET_YES == type_match (type, c)) ) ) ) |
222 | continue; /* skip */ | 222 | continue; /* skip */ |
223 | #if DEBUG_CORE_CLIENT > 1 | 223 | #if DEBUG_CORE > 1 |
224 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 224 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
225 | "Sending message of type %u to client.\n", | 225 | "Sending message of type %u to client.\n", |
226 | (unsigned int) ntohs (msg->type)); | 226 | (unsigned int) ntohs (msg->type)); |
@@ -280,7 +280,7 @@ handle_client_init (void *cls, struct GNUNET_SERVER_Client *client, | |||
280 | GNUNET_CONTAINER_DLL_insert (client_head, | 280 | GNUNET_CONTAINER_DLL_insert (client_head, |
281 | client_tail, | 281 | client_tail, |
282 | c); | 282 | c); |
283 | #if DEBUG_CORE_CLIENT | 283 | #if DEBUG_CORE |
284 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 284 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
285 | "Client connecting to core service is interested in %u message types\n", | 285 | "Client connecting to core service is interested in %u message types\n", |
286 | (unsigned int) c->tcnt); | 286 | (unsigned int) c->tcnt); |
@@ -504,7 +504,7 @@ handle_client_disconnect (void *cls, | |||
504 | 504 | ||
505 | if (client == NULL) | 505 | if (client == NULL) |
506 | return; | 506 | return; |
507 | #if DEBUG_CORE_CLIENT | 507 | #if DEBUG_CORE |
508 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 508 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
509 | "Client %p has disconnected from core service.\n", client); | 509 | "Client %p has disconnected from core service.\n", client); |
510 | #endif | 510 | #endif |
@@ -619,7 +619,7 @@ GDS_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, | |||
619 | sizeof (struct GNUNET_TRANSPORT_ATS_Information) * atsi_count); | 619 | sizeof (struct GNUNET_TRANSPORT_ATS_Information) * atsi_count); |
620 | a[atsi_count].type = htonl (GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR); | 620 | a[atsi_count].type = htonl (GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR); |
621 | a[atsi_count].value = htonl (0); | 621 | a[atsi_count].value = htonl (0); |
622 | #if DEBUG_CORE_CLIENT | 622 | #if DEBUG_CORE |
623 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 623 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
624 | "Sending `%s' message to client.\n", | 624 | "Sending `%s' message to client.\n", |
625 | "NOTIFY_CONNECT"); | 625 | "NOTIFY_CONNECT"); |