diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-04-20 12:41:58 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-04-20 12:41:58 +0000 |
commit | f9c81481c740f01c57f32f16099fce90bc1d0540 (patch) | |
tree | ed3ad087353813d930d4bee1abd242e80f906758 /src/hostlist | |
parent | c3c5cbeee6dc80aec1365f591ac75f44c90fde48 (diff) | |
download | gnunet-f9c81481c740f01c57f32f16099fce90bc1d0540.tar.gz gnunet-f9c81481c740f01c57f32f16099fce90bc1d0540.zip |
changed definition MAX_URL_LENGTH to gnunet_daemon_hostlist.h
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.h | 1 | ||||
-rw-r--r-- | src/hostlist/hostlist-client.c | 1 | ||||
-rw-r--r-- | src/hostlist/hostlist-server.c | 3 |
3 files changed, 1 insertions, 4 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.h b/src/hostlist/gnunet-daemon-hostlist.h index 0b185ab7e..a3fbae523 100644 --- a/src/hostlist/gnunet-daemon-hostlist.h +++ b/src/hostlist/gnunet-daemon-hostlist.h | |||
@@ -41,5 +41,6 @@ | |||
41 | */ | 41 | */ |
42 | #define DEBUG_HOSTLIST GNUNET_NO | 42 | #define DEBUG_HOSTLIST GNUNET_NO |
43 | 43 | ||
44 | #define MAX_URL_LEN 1000 | ||
44 | 45 | ||
45 | /* end of gnunet-daemon-hostlist.h */ | 46 | /* end of gnunet-daemon-hostlist.h */ |
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index 89ff0f244..1dc74ad50 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c | |||
@@ -38,7 +38,6 @@ | |||
38 | 38 | ||
39 | #define DEBUG_HOSTLIST_CLIENT GNUNET_YES | 39 | #define DEBUG_HOSTLIST_CLIENT GNUNET_YES |
40 | 40 | ||
41 | #define MAX_URL_LEN 1000 | ||
42 | 41 | ||
43 | /** | 42 | /** |
44 | * Number of connections that we must have to NOT download | 43 | * Number of connections that we must have to NOT download |
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c index b7e875698..61e757bf4 100644 --- a/src/hostlist/hostlist-server.c +++ b/src/hostlist/hostlist-server.c | |||
@@ -114,9 +114,6 @@ static int advertising; | |||
114 | */ | 114 | */ |
115 | static uint64_t hostlist_adv_count; | 115 | static uint64_t hostlist_adv_count; |
116 | 116 | ||
117 | /* FIXME: define once... */ | ||
118 | #define MAX_URL_LEN 1000 | ||
119 | |||
120 | /** | 117 | /** |
121 | * Buffer for the hostlist address | 118 | * Buffer for the hostlist address |
122 | */ | 119 | */ |