From 6d91f133149ea81040340e8853d7d6e94e57947c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 18 Jun 2010 15:55:12 +0000 Subject: cleanup --- src/hostlist/hostlist-client.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/hostlist/hostlist-client.c') diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index f08bb2e5d..ff8ab2e9a 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c @@ -128,11 +128,6 @@ static struct GNUNET_TRANSPORT_Handle *transport; */ static char *proxy; -/** - * Buffer for data downloaded via HTTP. - */ -static char download_buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE]; - /** * Number of bytes valid in 'download_buffer'. */ @@ -277,6 +272,7 @@ callback_download (void *ptr, size_t nmemb, void *ctx) { + static char download_buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE]; const char * cbuf = ptr; const struct GNUNET_MessageHeader *msg; size_t total; -- cgit v1.2.3