changed definition MAX_URL_LENGTH to gnunet_daemon_hostlist.h
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 20 Apr 2010 12:41:58 +0000 (12:41 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 20 Apr 2010 12:41:58 +0000 (12:41 +0000)
src/hostlist/gnunet-daemon-hostlist.h
src/hostlist/hostlist-client.c
src/hostlist/hostlist-server.c

index 0b185ab7eefa28376b40f25ebcd8162eb0fddb6b..a3fbae52396bd37ff2d9fcdd5071bcb37bc867c9 100644 (file)
@@ -41,5 +41,6 @@
  */
 #define DEBUG_HOSTLIST GNUNET_NO
 
+#define MAX_URL_LEN 1000
 
 /* end of gnunet-daemon-hostlist.h */
index 89ff0f2447123100734b62da69d35439d4a7a679..1dc74ad506e38e3ea25d260ccbe01115db33ce32 100644 (file)
@@ -38,7 +38,6 @@
 
 #define DEBUG_HOSTLIST_CLIENT GNUNET_YES
 
-#define MAX_URL_LEN 1000
 
 /**
  * Number of connections that we must have to NOT download
index b7e8756988bd76b63608ff61dc9b037f3f9a178b..61e757bf4fc4784dae07ecb616a91fc16684b890 100644 (file)
@@ -114,9 +114,6 @@ static int advertising;
  */
 static uint64_t hostlist_adv_count;
 
-/* FIXME: define once... */
-#define MAX_URL_LEN 1000
-
 /**
  * Buffer for the hostlist address
  */