diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-23 18:53:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-23 18:53:22 +0000 |
commit | 2d750aac6791111d38ba48ea3934b5fd95291880 (patch) | |
tree | ae0888adedca65bbd5755051297de27ffedca81c /src/gns | |
parent | 4910b328bf59bb0b61c8a1dd62fc44532e2f95e4 (diff) | |
download | gnunet-2d750aac6791111d38ba48ea3934b5fd95291880.tar.gz gnunet-2d750aac6791111d38ba48ea3934b5fd95291880.zip |
-fix
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/gnunet-gns-fcfsd.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gns/gnunet-gns-fcfsd.c b/src/gns/gnunet-gns-fcfsd.c index 73638d888..d55396459 100644 --- a/src/gns/gnunet-gns-fcfsd.c +++ b/src/gns/gnunet-gns-fcfsd.c | |||
@@ -292,10 +292,12 @@ iterate_cb (void *cls, | |||
292 | memcpy (new_buf, zr->zoneinfo, zr->write_offset); | 292 | memcpy (new_buf, zr->zoneinfo, zr->write_offset); |
293 | GNUNET_free (zr->zoneinfo); | 293 | GNUNET_free (zr->zoneinfo); |
294 | zr->zoneinfo = new_buf; | 294 | zr->zoneinfo = new_buf; |
295 | zr->buf_len *= 2; | ||
295 | } | 296 | } |
296 | 297 | sprintf (zr->zoneinfo + zr->write_offset, | |
297 | sprintf (zr->zoneinfo+zr->write_offset, "<tr><td>%s</td><td>%s</td></tr>", name, pkey); | 298 | "<tr><td>%s</td><td>%s</td></tr>", |
298 | 299 | name, | |
300 | pkey); | ||
299 | zr->write_offset = strlen (zr->zoneinfo); | 301 | zr->write_offset = strlen (zr->zoneinfo); |
300 | GNUNET_NAMESTORE_zone_iterator_next (zr->list_it); | 302 | GNUNET_NAMESTORE_zone_iterator_next (zr->list_it); |
301 | GNUNET_free (pkey); | 303 | GNUNET_free (pkey); |