aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_peer.c')
-rw-r--r--src/cadet/gnunet-service-cadet_peer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c
index 3d9db4d4c..bfb11fc7f 100644
--- a/src/cadet/gnunet-service-cadet_peer.c
+++ b/src/cadet/gnunet-service-cadet_peer.c
@@ -519,7 +519,7 @@ core_init (void *cls,
519 GNUNET_NO, /* For header-only out notification */ 519 GNUNET_NO, /* For header-only out notification */
520 core_handlers); /* Register these handlers */ 520 core_handlers); /* Register these handlers */
521 if (10 < i++) 521 if (10 < i++)
522 GNUNET_abort(); 522 GNUNET_assert (0);
523 } 523 }
524 GML_start (); 524 GML_start ();
525 return; 525 return;
@@ -1069,7 +1069,7 @@ fill_buf (struct CadetPeerQueue *queue, void *buf, size_t size, uint32_t *pid)
1069 case GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY: 1069 case GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY:
1070 /* This should be encapsulted */ 1070 /* This should be encapsulted */
1071 msg_size = 0; 1071 msg_size = 0;
1072 GNUNET_abort (); 1072 GNUNET_assert (0);
1073 break; 1073 break;
1074 default: 1074 default:
1075 GNUNET_break (0); 1075 GNUNET_break (0);
@@ -1340,7 +1340,7 @@ GCP_queue_add (struct CadetPeer *peer, void *cls, uint16_t type,
1340 GCC_2s (c), c, GC_f2s (fwd), GCP_2s (peer), size); 1340 GCC_2s (c), c, GC_f2s (fwd), GCP_2s (peer), size);
1341 1341
1342 if (error_level == GNUNET_ERROR_TYPE_ERROR) 1342 if (error_level == GNUNET_ERROR_TYPE_ERROR)
1343 GNUNET_abort (); 1343 GNUNET_assert (0);
1344 if (NULL == peer->connections) 1344 if (NULL == peer->connections)
1345 { 1345 {
1346 /* We are not connected to this peer, ignore request. */ 1346 /* We are not connected to this peer, ignore request. */