From: Matthias Wachs Date: Tue, 20 Apr 2010 12:41:58 +0000 (+0000) Subject: changed definition MAX_URL_LENGTH to gnunet_daemon_hostlist.h X-Git-Tag: initial-import-from-subversion-38251~22079 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f9c81481c740f01c57f32f16099fce90bc1d0540;p=oweals%2Fgnunet.git changed definition MAX_URL_LENGTH to gnunet_daemon_hostlist.h --- 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 @@ */ #define DEBUG_HOSTLIST GNUNET_NO +#define MAX_URL_LEN 1000 /* 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 @@ #define DEBUG_HOSTLIST_CLIENT GNUNET_YES -#define MAX_URL_LEN 1000 /** * 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; */ static uint64_t hostlist_adv_count; -/* FIXME: define once... */ -#define MAX_URL_LEN 1000 - /** * Buffer for the hostlist address */