From: Christian Grothoff Date: Sun, 18 Oct 2015 18:19:29 +0000 (+0000) Subject: -use LOG instead of GNUNET_log X-Git-Tag: initial-import-from-subversion-38251~1240 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e11643df775c7085b6d0db723f41e7fbbbf3c1b7;p=oweals%2Fgnunet.git -use LOG instead of GNUNET_log --- diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index e10a924d1..e9c25de59 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1662,17 +1662,17 @@ fragmented_message_done (struct UDP_FragmentationContext *frag_ctx, delay = GNUNET_TIME_absolute_get_duration (frag_ctx->start_time); if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) { - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Fragmented message acknowledged after %s\n", - GNUNET_STRINGS_relative_time_to_string (delay, - GNUNET_YES)); + LOG (GNUNET_ERROR_TYPE_WARNING, + "Fragmented message acknowledged after %s\n", + GNUNET_STRINGS_relative_time_to_string (delay, + GNUNET_YES)); } else { - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Fragmented message acknowledged after %s\n", - GNUNET_STRINGS_relative_time_to_string (delay, - GNUNET_YES)); + LOG (GNUNET_ERROR_TYPE_DEBUG, + "Fragmented message acknowledged after %s\n", + GNUNET_STRINGS_relative_time_to_string (delay, + GNUNET_YES)); } if (NULL != frag_ctx->cont) @@ -1889,17 +1889,17 @@ qc_message_sent (void *cls, delay = GNUNET_TIME_absolute_get_duration (udpw->start_time); if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) { - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Message sent via UDP with delay of %s\n", - GNUNET_STRINGS_relative_time_to_string (delay, - GNUNET_YES)); + LOG (GNUNET_ERROR_TYPE_WARNING, + "Message sent via UDP with delay of %s\n", + GNUNET_STRINGS_relative_time_to_string (delay, + GNUNET_YES)); } else { - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Message sent via UDP with delay of %s\n", - GNUNET_STRINGS_relative_time_to_string (delay, - GNUNET_YES)); + LOG (GNUNET_ERROR_TYPE_DEBUG, + "Message sent via UDP with delay of %s\n", + GNUNET_STRINGS_relative_time_to_string (delay, + GNUNET_YES)); } udpw->cont (udpw->cont_cls, &udpw->session->target,