diff options
-rw-r--r-- | src/dht/gnunet-service-dht.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 4b61ec67b..6579f0726 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -682,48 +682,48 @@ static struct FindPeerMessageContext find_peer_context; | |||
682 | * to closest peer; initially send requests to 3 | 682 | * to closest peer; initially send requests to 3 |
683 | * peers. | 683 | * peers. |
684 | */ | 684 | */ |
685 | static unsigned int strict_kademlia; | 685 | static int strict_kademlia; |
686 | 686 | ||
687 | /** | 687 | /** |
688 | * Routing option to end routing when closest peer found. | 688 | * Routing option to end routing when closest peer found. |
689 | */ | 689 | */ |
690 | static unsigned int stop_on_closest; | 690 | static int stop_on_closest; |
691 | 691 | ||
692 | /** | 692 | /** |
693 | * Routing option to end routing when data is found. | 693 | * Routing option to end routing when data is found. |
694 | */ | 694 | */ |
695 | static unsigned int stop_on_found; | 695 | static int stop_on_found; |
696 | 696 | ||
697 | /** | 697 | /** |
698 | * Whether DHT needs to manage find peer requests, or | 698 | * Whether DHT needs to manage find peer requests, or |
699 | * an external force will do it on behalf of the DHT. | 699 | * an external force will do it on behalf of the DHT. |
700 | */ | 700 | */ |
701 | static unsigned int do_find_peer; | 701 | static int do_find_peer; |
702 | 702 | ||
703 | /** | 703 | /** |
704 | * Once we have stored an item in the DHT, refresh it | 704 | * Once we have stored an item in the DHT, refresh it |
705 | * according to our republish interval. | 705 | * according to our republish interval. |
706 | */ | 706 | */ |
707 | static unsigned int do_republish; | 707 | static int do_republish; |
708 | 708 | ||
709 | /** | 709 | /** |
710 | * Use exactly the forwarding formula as described in | 710 | * Use exactly the forwarding formula as described in |
711 | * the paper if set to GNUNET_YES, otherwise use the | 711 | * the paper if set to GNUNET_YES, otherwise use the |
712 | * slightly modified version. | 712 | * slightly modified version. |
713 | */ | 713 | */ |
714 | static unsigned int paper_forwarding; | 714 | static int paper_forwarding; |
715 | 715 | ||
716 | /** | 716 | /** |
717 | * PUT Peer Identities of peers we know about into | 717 | * PUT Peer Identities of peers we know about into |
718 | * the datacache. | 718 | * the datacache. |
719 | */ | 719 | */ |
720 | static unsigned int put_peer_identities; | 720 | static int put_peer_identities; |
721 | 721 | ||
722 | /** | 722 | /** |
723 | * Use the "real" distance metric when selecting the | 723 | * Use the "real" distance metric when selecting the |
724 | * next routing hop. Can be less accurate. | 724 | * next routing hop. Can be less accurate. |
725 | */ | 725 | */ |
726 | static unsigned int use_real_distance; | 726 | static int use_real_distance; |
727 | 727 | ||
728 | /** | 728 | /** |
729 | * How many peers have we added since we sent out our last | 729 | * How many peers have we added since we sent out our last |