aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-18 15:55:12 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-18 15:55:12 +0000
commit6d91f133149ea81040340e8853d7d6e94e57947c (patch)
tree909f05982b8be5c7cf6de927aabc3a9bb6312d60 /src/hostlist
parent475452849162e7c123141d9710b2cf3480e8f868 (diff)
downloadgnunet-6d91f133149ea81040340e8853d7d6e94e57947c.tar.gz
gnunet-6d91f133149ea81040340e8853d7d6e94e57947c.zip
cleanup
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/hostlist-client.c6
1 files changed, 1 insertions, 5 deletions
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
@@ -129,11 +129,6 @@ static struct GNUNET_TRANSPORT_Handle *transport;
129static char *proxy; 129static char *proxy;
130 130
131/** 131/**
132 * Buffer for data downloaded via HTTP.
133 */
134static char download_buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE];
135
136/**
137 * Number of bytes valid in 'download_buffer'. 132 * Number of bytes valid in 'download_buffer'.
138 */ 133 */
139static size_t download_pos; 134static size_t download_pos;
@@ -277,6 +272,7 @@ callback_download (void *ptr,
277 size_t nmemb, 272 size_t nmemb,
278 void *ctx) 273 void *ctx)
279{ 274{
275 static char download_buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE];
280 const char * cbuf = ptr; 276 const char * cbuf = ptr;
281 const struct GNUNET_MessageHeader *msg; 277 const struct GNUNET_MessageHeader *msg;
282 size_t total; 278 size_t total;