diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-26 22:13:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-26 22:13:01 +0000 |
commit | 64d3e46cfb99a711e500fa1f114e7c44bdf10040 (patch) | |
tree | 83093d92761d5c1b8b2fded713adaa19af29274c /src/hostlist | |
parent | ef6f05f63769263a5201636c4b7f71eaa455cdf3 (diff) | |
download | gnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.tar.gz gnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.zip |
-bugfixes, code cleanup
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/hostlist-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index 69d7b873e..7b871963f 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c | |||
@@ -298,7 +298,7 @@ callback_download (void *ptr, size_t size, size_t nmemb, void *ctx) | |||
298 | left -= cpy; | 298 | left -= cpy; |
299 | if (download_pos < sizeof (struct GNUNET_MessageHeader)) | 299 | if (download_pos < sizeof (struct GNUNET_MessageHeader)) |
300 | { | 300 | { |
301 | GNUNET_assert (left == 0); | 301 | GNUNET_assert (0 == left); |
302 | break; | 302 | break; |
303 | } | 303 | } |
304 | msg = (const struct GNUNET_MessageHeader *) download_buffer; | 304 | msg = (const struct GNUNET_MessageHeader *) download_buffer; |