diff options
-rw-r--r-- | src/transport/gnunet-communicator-udp.c | 20 | ||||
-rw-r--r-- | src/transport/gnunet-service-tng.c | 5 |
2 files changed, 13 insertions, 12 deletions
diff --git a/src/transport/gnunet-communicator-udp.c b/src/transport/gnunet-communicator-udp.c index fa9bb5d0a..ef7b1d6c0 100644 --- a/src/transport/gnunet-communicator-udp.c +++ b/src/transport/gnunet-communicator-udp.c | |||
@@ -2691,8 +2691,8 @@ check_for_rekeying (struct ReceiverAddress *receiver, struct UDPBox *box) | |||
2691 | struct GNUNET_TIME_Relative rt; | 2691 | struct GNUNET_TIME_Relative rt; |
2692 | 2692 | ||
2693 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2693 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2694 | "Timeout is %lu\n.", | 2694 | "Timeout is %llu\n.", |
2695 | receiver->rekey_timeout.abs_value_us); | 2695 | (unsigned long long) receiver->rekey_timeout.abs_value_us); |
2696 | 2696 | ||
2697 | if (0 == receiver->rekey_timeout.abs_value_us) | 2697 | if (0 == receiver->rekey_timeout.abs_value_us) |
2698 | { | 2698 | { |
@@ -2703,21 +2703,21 @@ check_for_rekeying (struct ReceiverAddress *receiver, struct UDPBox *box) | |||
2703 | { | 2703 | { |
2704 | rt = GNUNET_TIME_absolute_get_remaining (receiver->rekey_timeout); | 2704 | rt = GNUNET_TIME_absolute_get_remaining (receiver->rekey_timeout); |
2705 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2705 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2706 | "Relative time is %lu and timeout is %lu\n.", | 2706 | "Relative time is %llu and timeout is %llu\n.", |
2707 | rt.rel_value_us, | 2707 | (unsigned long long) rt.rel_value_us, |
2708 | receiver->rekey_timeout.abs_value_us); | 2708 | (unsigned long long) receiver->rekey_timeout.abs_value_us); |
2709 | 2709 | ||
2710 | if ((0 == rt.rel_value_us) || (receiver->rekey_send_bytes > | 2710 | if ((0 == rt.rel_value_us) || (receiver->rekey_send_bytes > |
2711 | rekey_max_bytes) ) | 2711 | rekey_max_bytes) ) |
2712 | { | 2712 | { |
2713 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2713 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2714 | "Bytes send %lu greater than %llu max bytes\n.", | 2714 | "Bytes send %llu greater than %llu max bytes\n.", |
2715 | receiver->rekey_send_bytes, | 2715 | (unsigned long long) receiver->rekey_send_bytes, |
2716 | rekey_max_bytes); | 2716 | rekey_max_bytes); |
2717 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2717 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2718 | "Relative time is %lu and timeout is %lu\n.", | 2718 | "Relative time is %llu and timeout is %llu\n.", |
2719 | rt.rel_value_us, | 2719 | (unsigned long long) rt.rel_value_us, |
2720 | receiver->rekey_timeout.abs_value_us); | 2720 | (unsigned long long) receiver->rekey_timeout.abs_value_us); |
2721 | 2721 | ||
2722 | receiver->rekey_timeout.abs_value_us = 0; | 2722 | receiver->rekey_timeout.abs_value_us = 0; |
2723 | receiver->rekey_send_bytes = 0; | 2723 | receiver->rekey_send_bytes = 0; |
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c index 613477220..e6e93e3b6 100644 --- a/src/transport/gnunet-service-tng.c +++ b/src/transport/gnunet-service-tng.c | |||
@@ -9069,8 +9069,9 @@ handle_send_message_ack (void *cls, | |||
9069 | qep = qep->next) | 9069 | qep = qep->next) |
9070 | { | 9070 | { |
9071 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 9071 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
9072 | "QueueEntry MID: %lu, Ack MID: %lu\n", | 9072 | "QueueEntry MID: %llu, Ack MID: %llu\n", |
9073 | qep->mid, sma->mid); | 9073 | (unsigned long long) qep->mid, |
9074 | (unsigned long long) sma->mid); | ||
9074 | if (qep->mid != sma->mid) | 9075 | if (qep->mid != sma->mid) |
9075 | continue; | 9076 | continue; |
9076 | qe = qep; | 9077 | qe = qep; |