diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-18 18:19:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-18 18:19:29 +0000 |
commit | e11643df775c7085b6d0db723f41e7fbbbf3c1b7 (patch) | |
tree | fa40c0d2a33ea6067efd1e9b7ca23b6b422101c9 /src/transport/plugin_transport_udp.c | |
parent | 0a86d72d1701fdcf193331d882218a41939fc138 (diff) | |
download | gnunet-e11643df775c7085b6d0db723f41e7fbbbf3c1b7.tar.gz gnunet-e11643df775c7085b6d0db723f41e7fbbbf3c1b7.zip |
-use LOG instead of GNUNET_log
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 32 |
1 files changed, 16 insertions, 16 deletions
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, | |||
1662 | delay = GNUNET_TIME_absolute_get_duration (frag_ctx->start_time); | 1662 | delay = GNUNET_TIME_absolute_get_duration (frag_ctx->start_time); |
1663 | if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) | 1663 | if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) |
1664 | { | 1664 | { |
1665 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1665 | LOG (GNUNET_ERROR_TYPE_WARNING, |
1666 | "Fragmented message acknowledged after %s\n", | 1666 | "Fragmented message acknowledged after %s\n", |
1667 | GNUNET_STRINGS_relative_time_to_string (delay, | 1667 | GNUNET_STRINGS_relative_time_to_string (delay, |
1668 | GNUNET_YES)); | 1668 | GNUNET_YES)); |
1669 | } | 1669 | } |
1670 | else | 1670 | else |
1671 | { | 1671 | { |
1672 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1672 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1673 | "Fragmented message acknowledged after %s\n", | 1673 | "Fragmented message acknowledged after %s\n", |
1674 | GNUNET_STRINGS_relative_time_to_string (delay, | 1674 | GNUNET_STRINGS_relative_time_to_string (delay, |
1675 | GNUNET_YES)); | 1675 | GNUNET_YES)); |
1676 | } | 1676 | } |
1677 | 1677 | ||
1678 | if (NULL != frag_ctx->cont) | 1678 | if (NULL != frag_ctx->cont) |
@@ -1889,17 +1889,17 @@ qc_message_sent (void *cls, | |||
1889 | delay = GNUNET_TIME_absolute_get_duration (udpw->start_time); | 1889 | delay = GNUNET_TIME_absolute_get_duration (udpw->start_time); |
1890 | if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) | 1890 | if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) |
1891 | { | 1891 | { |
1892 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1892 | LOG (GNUNET_ERROR_TYPE_WARNING, |
1893 | "Message sent via UDP with delay of %s\n", | 1893 | "Message sent via UDP with delay of %s\n", |
1894 | GNUNET_STRINGS_relative_time_to_string (delay, | 1894 | GNUNET_STRINGS_relative_time_to_string (delay, |
1895 | GNUNET_YES)); | 1895 | GNUNET_YES)); |
1896 | } | 1896 | } |
1897 | else | 1897 | else |
1898 | { | 1898 | { |
1899 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1899 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1900 | "Message sent via UDP with delay of %s\n", | 1900 | "Message sent via UDP with delay of %s\n", |
1901 | GNUNET_STRINGS_relative_time_to_string (delay, | 1901 | GNUNET_STRINGS_relative_time_to_string (delay, |
1902 | GNUNET_YES)); | 1902 | GNUNET_YES)); |
1903 | } | 1903 | } |
1904 | udpw->cont (udpw->cont_cls, | 1904 | udpw->cont (udpw->cont_cls, |
1905 | &udpw->session->target, | 1905 | &udpw->session->target, |