diff options
author | Bart Polot <bart@net.in.tum.de> | 2015-01-10 00:40:13 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2015-01-10 00:40:13 +0000 |
commit | bb9cc60782ea59e14a7b1ae3240453febe03e7d3 (patch) | |
tree | f965af345698f8f095f916e7b24570ec3d14c330 /src/cadet | |
parent | 33f014be8dee93ff09e7024525182f0196727fcd (diff) | |
download | gnunet-bb9cc60782ea59e14a7b1ae3240453febe03e7d3.tar.gz gnunet-bb9cc60782ea59e14a7b1ae3240453febe03e7d3.zip |
- remove debug statements
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 4c4e50585..451ffe3dd 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -2188,7 +2188,6 @@ handle_cadet_encrypted (const struct GNUNET_PeerIdentity *peer, | |||
2188 | fc->last_pid_recv = pid; | 2188 | fc->last_pid_recv = pid; |
2189 | fc->recv_bitmap <<= delta; | 2189 | fc->recv_bitmap <<= delta; |
2190 | fc->recv_bitmap |= 1; | 2190 | fc->recv_bitmap |= 1; |
2191 | LOG (GNUNET_ERROR_TYPE_WARNING, " OK bitmap %X\n", fc->recv_bitmap); | ||
2192 | } | 2191 | } |
2193 | else | 2192 | else |
2194 | { | 2193 | { |
@@ -2200,7 +2199,6 @@ handle_cadet_encrypted (const struct GNUNET_PeerIdentity *peer, | |||
2200 | return GNUNET_OK; | 2199 | return GNUNET_OK; |
2201 | } | 2200 | } |
2202 | fc->recv_bitmap |= get_recv_bitmask (fc->last_pid_recv, pid); | 2201 | fc->recv_bitmap |= get_recv_bitmask (fc->last_pid_recv, pid); |
2203 | LOG (GNUNET_ERROR_TYPE_WARNING, " KO bitmap %X\n", fc->recv_bitmap); | ||
2204 | } | 2202 | } |
2205 | if (CADET_CONNECTION_SENT == c->state || CADET_CONNECTION_ACK == c->state) | 2203 | if (CADET_CONNECTION_SENT == c->state || CADET_CONNECTION_ACK == c->state) |
2206 | connection_change_state (c, CADET_CONNECTION_READY); | 2204 | connection_change_state (c, CADET_CONNECTION_READY); |
@@ -3425,6 +3423,7 @@ GCC_debug (const struct CadetConnection *c, enum GNUNET_ErrorType level) | |||
3425 | c->fwd_fc.last_pid_sent, c->fwd_fc.last_pid_recv); | 3423 | c->fwd_fc.last_pid_sent, c->fwd_fc.last_pid_recv); |
3426 | LOG2 (level, "CCC last ACK sent: %5u, recv: %5u\n", | 3424 | LOG2 (level, "CCC last ACK sent: %5u, recv: %5u\n", |
3427 | c->fwd_fc.last_ack_sent, c->fwd_fc.last_ack_recv); | 3425 | c->fwd_fc.last_ack_sent, c->fwd_fc.last_ack_recv); |
3426 | LOG2 (level, "CCC recv PID bitmap: %X\n", c->fwd_fc.recv_bitmap); | ||
3428 | LOG2 (level, "CCC POLL: task %d, msg %p, msg_ack %p)\n", | 3427 | LOG2 (level, "CCC POLL: task %d, msg %p, msg_ack %p)\n", |
3429 | c->fwd_fc.poll_task, c->fwd_fc.poll_msg, c->fwd_fc.ack_msg); | 3428 | c->fwd_fc.poll_task, c->fwd_fc.poll_msg, c->fwd_fc.ack_msg); |
3430 | 3429 | ||
@@ -3434,6 +3433,7 @@ GCC_debug (const struct CadetConnection *c, enum GNUNET_ErrorType level) | |||
3434 | c->bck_fc.last_pid_sent, c->bck_fc.last_pid_recv); | 3433 | c->bck_fc.last_pid_sent, c->bck_fc.last_pid_recv); |
3435 | LOG2 (level, "CCC last ACK sent: %5u, recv: %5u\n", | 3434 | LOG2 (level, "CCC last ACK sent: %5u, recv: %5u\n", |
3436 | c->bck_fc.last_ack_sent, c->bck_fc.last_ack_recv); | 3435 | c->bck_fc.last_ack_sent, c->bck_fc.last_ack_recv); |
3436 | LOG2 (level, "CCC recv PID bitmap: %X\n", c->bck_fc.recv_bitmap); | ||
3437 | LOG2 (level, "CCC POLL: task %d, msg %p, msg_ack %p)\n", | 3437 | LOG2 (level, "CCC POLL: task %d, msg %p, msg_ack %p)\n", |
3438 | c->bck_fc.poll_task, c->bck_fc.poll_msg, c->bck_fc.ack_msg); | 3438 | c->bck_fc.poll_task, c->bck_fc.poll_msg, c->bck_fc.ack_msg); |
3439 | 3439 | ||