From f9c81481c740f01c57f32f16099fce90bc1d0540 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 20 Apr 2010 12:41:58 +0000 Subject: [PATCH] changed definition MAX_URL_LENGTH to gnunet_daemon_hostlist.h --- src/hostlist/gnunet-daemon-hostlist.h | 1 + src/hostlist/hostlist-client.c | 1 - src/hostlist/hostlist-server.c | 3 --- 3 files changed, 1 insertion(+), 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 @@ */ #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 */ -- 2.25.1