aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conversation/conversation_api_call.c2
-rw-r--r--src/conversation/gnunet-service-conversation.c2
-rw-r--r--src/core/test_core_api_mq.c6
-rw-r--r--src/gns/w32nsp-resolve.c2
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c8
-rw-r--r--src/hostlist/hostlist-client.c2
-rw-r--r--src/include/gnunet_mesh_service.h2
-rw-r--r--src/include/gnunet_secretsharing_service.h2
-rw-r--r--src/include/gnunet_testbed_service.h2
-rw-r--r--src/scalarproduct/scalarproduct_api.c4
-rwxr-xr-xsrc/secretsharing/gnunet-secretsharing-profiler.c10
-rw-r--r--src/secretsharing/secretsharing.h2
-rw-r--r--src/set/gnunet-service-set.c2
-rw-r--r--src/set/gnunet-service-set_intersection.c22
-rw-r--r--src/set/set_api.c2
-rw-r--r--src/set/set_protocol.h14
-rw-r--r--src/testbed/gnunet-service-testbed_cache.c2
-rw-r--r--src/testbed/gnunet-service-testbed_connectionpool.c2
-rw-r--r--src/testbed/gnunet-testbed-profiler.c2
-rw-r--r--src/testbed/testbed.h4
-rw-r--r--src/testbed/testbed_api_underlay.c8
-rw-r--r--src/transport/gnunet-helper-transport-bluetooth.c2
-rw-r--r--src/transport/gnunet-helper-transport-wlan-dummy.c2
-rw-r--r--src/util/signal.c2
24 files changed, 54 insertions, 54 deletions
diff --git a/src/conversation/conversation_api_call.c b/src/conversation/conversation_api_call.c
index befbbc910..379947087 100644
--- a/src/conversation/conversation_api_call.c
+++ b/src/conversation/conversation_api_call.c
@@ -524,7 +524,7 @@ reconnect_call (struct GNUNET_CONVERSATION_Call *call)
524 GNUNET_CONVERSATION_EC_CALL_ERROR); 524 GNUNET_CONVERSATION_EC_CALL_ERROR);
525 return; 525 return;
526 } 526 }
527 527
528 call->mq = GNUNET_MQ_queue_for_connection_client (call->client, 528 call->mq = GNUNET_MQ_queue_for_connection_client (call->client,
529 handlers, 529 handlers,
530 &call_error_handler, 530 &call_error_handler,
diff --git a/src/conversation/gnunet-service-conversation.c b/src/conversation/gnunet-service-conversation.c
index 58d1254cc..0fc19c510 100644
--- a/src/conversation/gnunet-service-conversation.c
+++ b/src/conversation/gnunet-service-conversation.c
@@ -958,7 +958,7 @@ handle_mesh_ring_message (void *cls,
958 cring.cid = ch->cid; 958 cring.cid = ch->cid;
959 cring.caller_id = msg->caller_id; 959 cring.caller_id = msg->caller_id;
960 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 960 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
961 "Sending RING message to client. CID %u:(%u, %u)\n", 961 "Sending RING message to client. CID %u:(%u, %u)\n",
962 ch->cid, ch->remote_line, line->local_line); 962 ch->cid, ch->remote_line, line->local_line);
963 GNUNET_SERVER_notification_context_unicast (nc, 963 GNUNET_SERVER_notification_context_unicast (nc,
964 line->client, 964 line->client,
diff --git a/src/core/test_core_api_mq.c b/src/core/test_core_api_mq.c
index 7a255e00f..c71c26b76 100644
--- a/src/core/test_core_api_mq.c
+++ b/src/core/test_core_api_mq.c
@@ -65,7 +65,7 @@ connect_cb (void *cls, const struct GNUNET_PeerIdentity *peer)
65 struct GNUNET_MQ_Envelope *ev; 65 struct GNUNET_MQ_Envelope *ev;
66 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Queueing messages.\n"); 66 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Queueing messages.\n");
67 for (i = 0; i < NUM_MSG; i++) 67 for (i = 0; i < NUM_MSG; i++)
68 { 68 {
69 ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_TEST); 69 ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_TEST);
70 GNUNET_MQ_send (mq, ev); 70 GNUNET_MQ_send (mq, ev);
71 } 71 }
@@ -107,13 +107,13 @@ shutdown_task (void *cls,
107 107
108/** 108/**
109 * Initialize framework and start test 109 * Initialize framework and start test
110 * 110 *
111 * @param cls Closure (unused). 111 * @param cls Closure (unused).
112 * @param cfg Configuration handle. 112 * @param cfg Configuration handle.
113 * @param peer Testing peer handle. 113 * @param peer Testing peer handle.
114 */ 114 */
115static void 115static void
116run (void *cls, 116run (void *cls,
117 const struct GNUNET_CONFIGURATION_Handle *cfg, 117 const struct GNUNET_CONFIGURATION_Handle *cfg,
118 struct GNUNET_TESTING_Peer *peer) 118 struct GNUNET_TESTING_Peer *peer)
119{ 119{
diff --git a/src/gns/w32nsp-resolve.c b/src/gns/w32nsp-resolve.c
index f8f4a43be..0259ddb55 100644
--- a/src/gns/w32nsp-resolve.c
+++ b/src/gns/w32nsp-resolve.c
@@ -385,7 +385,7 @@ main (int argc, char **argv)
385 ADDRINFOW hints; 385 ADDRINFOW hints;
386 ADDRINFOW *result; 386 ADDRINFOW *result;
387 ADDRINFOW *pos; 387 ADDRINFOW *pos;
388 388
389 memset (&hints, 0, sizeof (struct addrinfo)); 389 memset (&hints, 0, sizeof (struct addrinfo));
390 hints.ai_family = AF_UNSPEC; 390 hints.ai_family = AF_UNSPEC;
391 hints.ai_socktype = SOCK_STREAM; 391 hints.ai_socktype = SOCK_STREAM;
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c
index b83356d10..a93d7e37d 100644
--- a/src/hostlist/gnunet-daemon-hostlist.c
+++ b/src/hostlist/gnunet-daemon-hostlist.c
@@ -204,7 +204,7 @@ disconnect_handler (void *cls, const struct GNUNET_PeerIdentity *peer)
204static void 204static void
205cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 205cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
206{ 206{
207 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 207 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
208 "Hostlist daemon is shutting down\n"); 208 "Hostlist daemon is shutting down\n");
209 if (core != NULL) 209 if (core != NULL)
210 { 210 {
@@ -265,9 +265,9 @@ run (void *cls, char *const *args, const char *cfgfile,
265 &client_adv_handler, learning); 265 &client_adv_handler, learning);
266 core = 266 core =
267 GNUNET_CORE_connect (cfg, NULL, 267 GNUNET_CORE_connect (cfg, NULL,
268 &core_init, 268 &core_init,
269 &connect_handler, 269 &connect_handler,
270 &disconnect_handler, NULL, 270 &disconnect_handler, NULL,
271 GNUNET_NO, NULL, 271 GNUNET_NO, NULL,
272 GNUNET_NO, 272 GNUNET_NO,
273 learning ? learn_handlers : no_learn_handlers); 273 learning ? learn_handlers : no_learn_handlers);
@@ -278,7 +278,7 @@ run (void *cls, char *const *args, const char *cfgfile,
278 GNUNET_HOSTLIST_server_start (cfg, stats, core, &server_ch, &server_dh, 278 GNUNET_HOSTLIST_server_start (cfg, stats, core, &server_ch, &server_dh,
279 advertising); 279 advertising);
280#endif 280#endif
281 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 281 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
282 &cleaning_task, 282 &cleaning_task,
283 NULL); 283 NULL);
284 284
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 42c4dc994..8271ecc0c 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -1277,7 +1277,7 @@ load_hostlist_file ()
1277 } 1277 }
1278 1278
1279 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 1279 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
1280 _("Loading saved hostlist entries from file `%s' \n"), 1280 _("Loading saved hostlist entries from file `%s' \n"),
1281 filename); 1281 filename);
1282 if (GNUNET_NO == GNUNET_DISK_file_test (filename)) 1282 if (GNUNET_NO == GNUNET_DISK_file_test (filename))
1283 { 1283 {
diff --git a/src/include/gnunet_mesh_service.h b/src/include/gnunet_mesh_service.h
index 785197471..a5ebcb1ce 100644
--- a/src/include/gnunet_mesh_service.h
+++ b/src/include/gnunet_mesh_service.h
@@ -145,7 +145,7 @@ struct GNUNET_MESH_MessageHandler
145 * the other peer initiated. 145 * the other peer initiated.
146 * Only called (once) upon reception of data with a message type which was 146 * Only called (once) upon reception of data with a message type which was
147 * subscribed to in #GNUNET_MESH_connect. 147 * subscribed to in #GNUNET_MESH_connect.
148 * 148 *
149 * A call to #GNUNET_MESH_channel_destroy causes te channel to be ignored. In 149 * A call to #GNUNET_MESH_channel_destroy causes te channel to be ignored. In
150 * this case the handler MUST return NULL. 150 * this case the handler MUST return NULL.
151 * 151 *
diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h
index 4479f0d80..7eb372ef5 100644
--- a/src/include/gnunet_secretsharing_service.h
+++ b/src/include/gnunet_secretsharing_service.h
@@ -246,7 +246,7 @@ GNUNET_SECRETSHARING_share_read (void *data, size_t len);
246 * Convert a share to its binary representation. Use 246 * Convert a share to its binary representation. Use
247 * #GNUNET_SECRETSHARING_share_size to get the necessary size for the binary 247 * #GNUNET_SECRETSHARING_share_size to get the necessary size for the binary
248 * representation. 248 * representation.
249 * 249 *
250 * @param share share to write 250 * @param share share to write
251 * @param buf buffer to write to 251 * @param buf buffer to write to
252 * @param buflen number of writable bytes in @a buffer 252 * @param buflen number of writable bytes in @a buffer
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index b204804d1..60fcb64af 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -1653,7 +1653,7 @@ GNUNET_TESTBED_underlaylinkmodel_add_peer (struct GNUNET_TESTBED_UnderlayLinkMod
1653/** 1653/**
1654 * Set the metrics for a link to the given peer in the underlay model. The link 1654 * Set the metrics for a link to the given peer in the underlay model. The link
1655 * SHOULD be permittable according to the given model. 1655 * SHOULD be permittable according to the given model.
1656 * 1656 *
1657 * @ingroup underlay 1657 * @ingroup underlay
1658 * @param model the model 1658 * @param model the model
1659 * @param peer the other end peer of the link 1659 * @param peer the other end peer of the link
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c
index dcacd85c9..13c35a28d 100644
--- a/src/scalarproduct/scalarproduct_api.c
+++ b/src/scalarproduct/scalarproduct_api.c
@@ -318,7 +318,7 @@ transmit_request (void *cls, size_t size,
318 * @param element_count Number of elements in the vector 318 * @param element_count Number of elements in the vector
319 * @param cont Callback function 319 * @param cont Callback function
320 * @param cont_cls Closure for the callback function 320 * @param cont_cls Closure for the callback function
321 * 321 *
322 * @return a new handle for this computation 322 * @return a new handle for this computation
323 */ 323 */
324struct GNUNET_SCALARPRODUCT_ComputationHandle * 324struct GNUNET_SCALARPRODUCT_ComputationHandle *
@@ -408,7 +408,7 @@ GNUNET_SCALARPRODUCT_response (const struct GNUNET_CONFIGURATION_Handle * cfg,
408 * @param mask_bytes number of bytes in the mask 408 * @param mask_bytes number of bytes in the mask
409 * @param cont Callback function 409 * @param cont Callback function
410 * @param cont_cls Closure for the callback function 410 * @param cont_cls Closure for the callback function
411 * 411 *
412 * @return a new handle for this computation 412 * @return a new handle for this computation
413 */ 413 */
414struct GNUNET_SCALARPRODUCT_ComputationHandle * 414struct GNUNET_SCALARPRODUCT_ComputationHandle *
diff --git a/src/secretsharing/gnunet-secretsharing-profiler.c b/src/secretsharing/gnunet-secretsharing-profiler.c
index 6e06ede63..a9bce4a14 100755
--- a/src/secretsharing/gnunet-secretsharing-profiler.c
+++ b/src/secretsharing/gnunet-secretsharing-profiler.c
@@ -1,5 +1,5 @@
1int 1int
2main () 2main ()
3{ 3{
4 return 0; 4 return 0;
5} 5}
diff --git a/src/secretsharing/secretsharing.h b/src/secretsharing/secretsharing.h
index 8bd1b05b5..0af21028d 100644
--- a/src/secretsharing/secretsharing.h
+++ b/src/secretsharing/secretsharing.h
@@ -53,7 +53,7 @@ struct GNUNET_SECRETSHARING_CreateMessage
53 struct GNUNET_TIME_AbsoluteNBO deadline; 53 struct GNUNET_TIME_AbsoluteNBO deadline;
54 54
55 /** 55 /**
56 * Mininum number of cooperating peers to decrypt a 56 * Mininum number of cooperating peers to decrypt a
57 * value. 57 * value.
58 */ 58 */
59 uint16_t threshold GNUNET_PACKED; 59 uint16_t threshold GNUNET_PACKED;
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c
index 9cc2e56f6..b5aa659be 100644
--- a/src/set/gnunet-service-set.c
+++ b/src/set/gnunet-service-set.c
@@ -517,7 +517,7 @@ incoming_suggest (struct Operation *incoming, struct Listener *listener)
517{ 517{
518 struct GNUNET_MQ_Envelope *mqm; 518 struct GNUNET_MQ_Envelope *mqm;
519 struct GNUNET_SET_RequestMessage *cmsg; 519 struct GNUNET_SET_RequestMessage *cmsg;
520 520
521 GNUNET_assert (GNUNET_YES == incoming->is_incoming); 521 GNUNET_assert (GNUNET_YES == incoming->is_incoming);
522 GNUNET_assert (NULL != incoming->state); 522 GNUNET_assert (NULL != incoming->state);
523 GNUNET_assert (NULL != incoming->spec); 523 GNUNET_assert (NULL != incoming->spec);
diff --git a/src/set/gnunet-service-set_intersection.c b/src/set/gnunet-service-set_intersection.c
index 1bfda430a..a28938e04 100644
--- a/src/set/gnunet-service-set_intersection.c
+++ b/src/set/gnunet-service-set_intersection.c
@@ -93,12 +93,12 @@ struct OperationState
93 * size of the bloomfilter 93 * size of the bloomfilter
94 */ 94 */
95 uint32_t bf_data_size; 95 uint32_t bf_data_size;
96 96
97 /** 97 /**
98 * size of the bloomfilter 98 * size of the bloomfilter
99 */ 99 */
100 uint32_t bf_bits_per_element; 100 uint32_t bf_bits_per_element;
101 101
102 /** 102 /**
103 * Current state of the operation. 103 * Current state of the operation.
104 */ 104 */
@@ -445,7 +445,7 @@ send_bloomfilter (struct Operation *op)
445 struct GNUNET_CONTAINER_BloomFilter * local_bf; 445 struct GNUNET_CONTAINER_BloomFilter * local_bf;
446 446
447 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "sending bf of size %u\n"); 447 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "sending bf of size %u\n");
448 448
449 CALCULATE_BF_SIZE(op->state->my_element_count, 449 CALCULATE_BF_SIZE(op->state->my_element_count,
450 op->spec->remote_element_count, 450 op->spec->remote_element_count,
451 bf_size, 451 bf_size,
@@ -586,7 +586,7 @@ static void
586process_bf (struct Operation *op){ 586process_bf (struct Operation *op){
587 uint32_t old_elements; 587 uint32_t old_elements;
588 uint32_t peer_elements; 588 uint32_t peer_elements;
589 589
590 old_elements = op->state->my_element_count; 590 old_elements = op->state->my_element_count;
591 peer_elements = op->spec->remote_element_count; 591 peer_elements = op->spec->remote_element_count;
592 switch (op->state->phase) 592 switch (op->state->phase)
@@ -650,18 +650,18 @@ handle_p2p_bf_part (void *cls, const struct GNUNET_MessageHeader *mh)
650 const struct BFPart *msg = (const struct BFPart *) mh; 650 const struct BFPart *msg = (const struct BFPart *) mh;
651 uint32_t chunk_size; 651 uint32_t chunk_size;
652 uint32_t chunk_offset; 652 uint32_t chunk_offset;
653 653
654 chunk_size = ntohl(msg->chunk_length); 654 chunk_size = ntohl(msg->chunk_length);
655 chunk_offset = ntohl(msg->chunk_offset); 655 chunk_offset = ntohl(msg->chunk_offset);
656 656
657 if ((NULL == op->state->bf_data) 657 if ((NULL == op->state->bf_data)
658 || (op->state->bf_data_size < chunk_size + chunk_offset)){ 658 || (op->state->bf_data_size < chunk_size + chunk_offset)){
659 // unexpected multipart chunk 659 // unexpected multipart chunk
660 GNUNET_break_op (0); 660 GNUNET_break_op (0);
661 fail_intersection_operation(op); 661 fail_intersection_operation(op);
662 return; 662 return;
663 } 663 }
664 664
665 memcpy (&op->state->bf_data[chunk_offset], (const char*) &msg[1], chunk_size); 665 memcpy (&op->state->bf_data[chunk_offset], (const char*) &msg[1], chunk_size);
666 666
667 if (op->state->bf_data_size != chunk_offset + chunk_size) 667 if (op->state->bf_data_size != chunk_offset + chunk_size)
@@ -671,10 +671,10 @@ handle_p2p_bf_part (void *cls, const struct GNUNET_MessageHeader *mh)
671 op->state->remote_bf = GNUNET_CONTAINER_bloomfilter_init ((const char*) &msg[1], 671 op->state->remote_bf = GNUNET_CONTAINER_bloomfilter_init ((const char*) &msg[1],
672 op->state->bf_data_size, 672 op->state->bf_data_size,
673 op->state->bf_bits_per_element); 673 op->state->bf_bits_per_element);
674 674
675 GNUNET_free (op->state->bf_data); 675 GNUNET_free (op->state->bf_data);
676 op->state->bf_data = NULL; 676 op->state->bf_data = NULL;
677 677
678 process_bf (op); 678 process_bf (op);
679} 679}
680 680
@@ -750,7 +750,7 @@ handle_p2p_element_info (void *cls, const struct GNUNET_MessageHeader *mh)
750 750
751 op->state->phase = PHASE_BF_EXCHANGE; 751 op->state->phase = PHASE_BF_EXCHANGE;
752 op->state->my_elements = GNUNET_CONTAINER_multihashmap_create (1, GNUNET_YES); 752 op->state->my_elements = GNUNET_CONTAINER_multihashmap_create (1, GNUNET_YES);
753 753
754 GNUNET_CONTAINER_multihashmap_iterate (op->spec->set->elements, 754 GNUNET_CONTAINER_multihashmap_iterate (op->spec->set->elements,
755 &iterator_initialization, 755 &iterator_initialization,
756 op); 756 op);
diff --git a/src/set/set_api.c b/src/set/set_api.c
index 908fa1a1d..951ac2b5b 100644
--- a/src/set/set_api.c
+++ b/src/set/set_api.c
@@ -428,7 +428,7 @@ set_operation_cancel (struct GNUNET_SET_OperationHandle *oh)
428 } 428 }
429 429
430 GNUNET_free (oh); 430 GNUNET_free (oh);
431 431
432 return ret; 432 return ret;
433} 433}
434 434
diff --git a/src/set/set_protocol.h b/src/set/set_protocol.h
index b48809a3c..9ed9c57d7 100644
--- a/src/set/set_protocol.h
+++ b/src/set/set_protocol.h
@@ -53,7 +53,7 @@ struct OperationRequestMessage
53 * For Intersection: my element count 53 * For Intersection: my element count
54 */ 54 */
55 uint32_t element_count; 55 uint32_t element_count;
56 56
57 /** 57 /**
58 * Application-specific identifier of the request. 58 * Application-specific identifier of the request.
59 */ 59 */
@@ -104,7 +104,7 @@ struct BFMessage
104 * mutator used with this bloomfilter. 104 * mutator used with this bloomfilter.
105 */ 105 */
106 uint32_t sender_element_count GNUNET_PACKED; 106 uint32_t sender_element_count GNUNET_PACKED;
107 107
108 /** 108 /**
109 * mutator used with this bloomfilter. 109 * mutator used with this bloomfilter.
110 */ 110 */
@@ -114,17 +114,17 @@ struct BFMessage
114 * Length of the bloomfilter data 114 * Length of the bloomfilter data
115 */ 115 */
116 uint32_t bloomfilter_total_length GNUNET_PACKED; 116 uint32_t bloomfilter_total_length GNUNET_PACKED;
117 117
118 /** 118 /**
119 * Length of the appended bloomfilter data block 119 * Length of the appended bloomfilter data block
120 */ 120 */
121 uint32_t bloomfilter_length GNUNET_PACKED; 121 uint32_t bloomfilter_length GNUNET_PACKED;
122 122
123 /** 123 /**
124 * Length of the bloomfilter data 124 * Length of the bloomfilter data
125 */ 125 */
126 uint32_t bits_per_element GNUNET_PACKED; 126 uint32_t bits_per_element GNUNET_PACKED;
127 127
128 /** 128 /**
129 * rest: the sender's bloomfilter 129 * rest: the sender's bloomfilter
130 */ 130 */
@@ -141,12 +141,12 @@ struct BFPart
141 * Length of the appended bloomfilter data block 141 * Length of the appended bloomfilter data block
142 */ 142 */
143 uint32_t chunk_length GNUNET_PACKED; 143 uint32_t chunk_length GNUNET_PACKED;
144 144
145 /** 145 /**
146 * offset in the bloolfilter data block, if multipart message 146 * offset in the bloolfilter data block, if multipart message
147 */ 147 */
148 uint32_t chunk_offset GNUNET_PACKED; 148 uint32_t chunk_offset GNUNET_PACKED;
149 149
150 /** 150 /**
151 * rest: the sender's bloomfilter 151 * rest: the sender's bloomfilter
152 */ 152 */
diff --git a/src/testbed/gnunet-service-testbed_cache.c b/src/testbed/gnunet-service-testbed_cache.c
index 7f2a35a7d..070aeefa5 100644
--- a/src/testbed/gnunet-service-testbed_cache.c
+++ b/src/testbed/gnunet-service-testbed_cache.c
@@ -121,7 +121,7 @@ static struct CacheEntry *
121add_entry (unsigned int peer_id) 121add_entry (unsigned int peer_id)
122{ 122{
123 struct CacheEntry *entry; 123 struct CacheEntry *entry;
124 124
125 GNUNET_assert (NULL != cache); 125 GNUNET_assert (NULL != cache);
126 if (cache_size == GNUNET_CONTAINER_multihashmap32_size (cache)) 126 if (cache_size == GNUNET_CONTAINER_multihashmap32_size (cache))
127 { 127 {
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.c b/src/testbed/gnunet-service-testbed_connectionpool.c
index 0df5c300c..6d9a27972 100644
--- a/src/testbed/gnunet-service-testbed_connectionpool.c
+++ b/src/testbed/gnunet-service-testbed_connectionpool.c
@@ -895,7 +895,7 @@ GST_connection_pool_get_handle_done (struct GST_ConnectionPool_GetHandle *gh)
895 } 895 }
896 } 896 }
897 if (gh->notify_waiting) 897 if (gh->notify_waiting)
898 { 898 {
899 GNUNET_CONTAINER_DLL_remove (entry->head_notify, entry->tail_notify, gh); 899 GNUNET_CONTAINER_DLL_remove (entry->head_notify, entry->tail_notify, gh);
900 gh->notify_waiting = 0; 900 gh->notify_waiting = 0;
901 } 901 }
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c
index f5d7599c3..17f1d6ba9 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -230,7 +230,7 @@ test_run (void *cls,
230 result = GNUNET_OK; 230 result = GNUNET_OK;
231 fprintf (stdout, "\n"); 231 fprintf (stdout, "\n");
232 print_overlay_links_summary (); 232 print_overlay_links_summary ();
233 if (noninteractive) 233 if (noninteractive)
234 { 234 {
235 GNUNET_SCHEDULER_cancel (abort_task); 235 GNUNET_SCHEDULER_cancel (abort_task);
236 abort_task = GNUNET_SCHEDULER_NO_TASK; 236 abort_task = GNUNET_SCHEDULER_NO_TASK;
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h
index 107e1c5bb..6f6a3f31e 100644
--- a/src/testbed/testbed.h
+++ b/src/testbed/testbed.h
@@ -790,7 +790,7 @@ struct GNUNET_TESTBED_UnderlayLinkModelMsg
790 * The number of link properties contained in this message 790 * The number of link properties contained in this message
791 */ 791 */
792 uint32_t nprops GNUNET_PACKED; 792 uint32_t nprops GNUNET_PACKED;
793 793
794 /** 794 /**
795 * Array of ids of peers to be in the blacklist/whitelist. Each id is of type 795 * Array of ids of peers to be in the blacklist/whitelist. Each id is of type
796 * uint32_t. Number of ids should be equal to nentries. 796 * uint32_t. Number of ids should be equal to nentries.
@@ -801,7 +801,7 @@ struct GNUNET_TESTBED_UnderlayLinkModelMsg
801 * sequence of four integers of type uint32_t: peer_id, latency, loss and 801 * sequence of four integers of type uint32_t: peer_id, latency, loss and
802 * bandwidth. 802 * bandwidth.
803 */ 803 */
804 804
805}; 805};
806 806
807 807
diff --git a/src/testbed/testbed_api_underlay.c b/src/testbed/testbed_api_underlay.c
index a1c90ac6e..0f90d0360 100644
--- a/src/testbed/testbed_api_underlay.c
+++ b/src/testbed/testbed_api_underlay.c
@@ -21,7 +21,7 @@
21/** 21/**
22 * @file testbed/testbed_api_underlay.c 22 * @file testbed/testbed_api_underlay.c
23 * @brief testbed underlay API implementation 23 * @brief testbed underlay API implementation
24 * @author Sree Harsha Totakura <sreeharsha@totakura.in> 24 * @author Sree Harsha Totakura <sreeharsha@totakura.in>
25 */ 25 */
26 26
27#include "testbed_api_peers.h" 27#include "testbed_api_peers.h"
@@ -46,7 +46,7 @@ struct LinkProperty
46 * latency of the link in microseconds 46 * latency of the link in microseconds
47 */ 47 */
48 uint32_t latency; 48 uint32_t latency;
49 49
50 /** 50 /**
51 * data loss on the link expressed as percentage 51 * data loss on the link expressed as percentage
52 */ 52 */
@@ -154,7 +154,7 @@ GNUNET_TESTBED_underlaylinkmodel_create (struct GNUNET_TESTBED_Peer *peer,
154 enum GNUNET_TESTBED_UnderlayLinkModelType type) 154 enum GNUNET_TESTBED_UnderlayLinkModelType type)
155{ 155{
156 struct GNUNET_TESTBED_UnderlayLinkModel *m; 156 struct GNUNET_TESTBED_UnderlayLinkModel *m;
157 157
158 GNUNET_assert (0 == peer->underlay_model_exists); 158 GNUNET_assert (0 == peer->underlay_model_exists);
159 m = GNUNET_new (struct GNUNET_TESTBED_UnderlayLinkModel); 159 m = GNUNET_new (struct GNUNET_TESTBED_UnderlayLinkModel);
160 peer->underlay_model_exists = 1; 160 peer->underlay_model_exists = 1;
@@ -188,7 +188,7 @@ GNUNET_TESTBED_underlaylinkmodel_add_peer (struct GNUNET_TESTBED_UnderlayLinkMod
188/** 188/**
189 * Set the metrics for a link to the given peer in the underlay model. The link 189 * Set the metrics for a link to the given peer in the underlay model. The link
190 * SHOULD be permittable according to the given model. 190 * SHOULD be permittable according to the given model.
191 * 191 *
192 * @ingroup underlay 192 * @ingroup underlay
193 * @param model the model 193 * @param model the model
194 * @param peer the other end peer of the link 194 * @param peer the other end peer of the link
diff --git a/src/transport/gnunet-helper-transport-bluetooth.c b/src/transport/gnunet-helper-transport-bluetooth.c
index 9d5318663..3f32edc45 100644
--- a/src/transport/gnunet-helper-transport-bluetooth.c
+++ b/src/transport/gnunet-helper-transport-bluetooth.c
@@ -1088,7 +1088,7 @@ open_device (struct HardwareInfos *dev)
1088 addr.btAddr = 0; 1088 addr.btAddr = 0;
1089 addr.port = BT_PORT_ANY; 1089 addr.port = BT_PORT_ANY;
1090 1090
1091 if (GNUNET_OK != 1091 if (GNUNET_OK !=
1092 GNUNET_NETWORK_socket_bind (dev->handle, (const SOCKADDR*)&addr, sizeof (SOCKADDR_BTH))) 1092 GNUNET_NETWORK_socket_bind (dev->handle, (const SOCKADDR*)&addr, sizeof (SOCKADDR_BTH)))
1093 { 1093 {
1094 fprintf (stderr, "Failed to bind the socket: "); 1094 fprintf (stderr, "Failed to bind the socket: ");
diff --git a/src/transport/gnunet-helper-transport-wlan-dummy.c b/src/transport/gnunet-helper-transport-wlan-dummy.c
index e6be00a73..162774b5d 100644
--- a/src/transport/gnunet-helper-transport-wlan-dummy.c
+++ b/src/transport/gnunet-helper-transport-wlan-dummy.c
@@ -315,7 +315,7 @@ main (int argc, char *argv[])
315 signal (SIGINT, &sigfunc); 315 signal (SIGINT, &sigfunc);
316 signal (SIGTERM, &sigfunc); 316 signal (SIGTERM, &sigfunc);
317 signal (GNUNET_TERM_SIG, &sigfunc); 317 signal (GNUNET_TERM_SIG, &sigfunc);
318 318
319 write_std.size = 0; 319 write_std.size = 0;
320 write_std.pos = 0; 320 write_std.pos = 0;
321 write_pout.size = 0; 321 write_pout.size = 0;
diff --git a/src/util/signal.c b/src/util/signal.c
index b76c658c8..84237f65d 100644
--- a/src/util/signal.c
+++ b/src/util/signal.c
@@ -120,7 +120,7 @@ void
120GNUNET_SIGNAL_raise (const int sig) 120GNUNET_SIGNAL_raise (const int sig)
121{ 121{
122 struct GNUNET_SIGNAL_Context *ctx; 122 struct GNUNET_SIGNAL_Context *ctx;
123 123
124 for (ctx = sc_head; NULL != ctx; ctx = ctx->next) 124 for (ctx = sc_head; NULL != ctx; ctx = ctx->next)
125 { 125 {
126 if (sig != ctx->sig) 126 if (sig != ctx->sig)