aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_namestore_flat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_namestore_flat.c')
-rw-r--r--src/namestore/plugin_namestore_flat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c
index dbceab45d..60b24df67 100644
--- a/src/namestore/plugin_namestore_flat.c
+++ b/src/namestore/plugin_namestore_flat.c
@@ -300,7 +300,7 @@ database_setup (struct Plugin *plugin)
300 300
301 GNUNET_STRINGS_base64_decode (zone_private_key, 301 GNUNET_STRINGS_base64_decode (zone_private_key,
302 strlen (zone_private_key), 302 strlen (zone_private_key),
303 (void**) &private_key); 303 (void **) &private_key);
304 entry->private_key = *private_key; 304 entry->private_key = *private_key;
305 GNUNET_free (private_key); 305 GNUNET_free (private_key);
306 } 306 }
@@ -494,7 +494,7 @@ namestore_flat_store_records (void *cls,
494 entry->record_data[i].flags = rd[i].flags; 494 entry->record_data[i].flags = rd[i].flags;
495 entry->record_data[i].data_size = rd[i].data_size; 495 entry->record_data[i].data_size = rd[i].data_size;
496 entry->record_data[i].data = GNUNET_malloc (rd[i].data_size); 496 entry->record_data[i].data = GNUNET_malloc (rd[i].data_size);
497 GNUNET_memcpy ((char*) entry->record_data[i].data, 497 GNUNET_memcpy ((char *) entry->record_data[i].data,
498 rd[i].data, 498 rd[i].data,
499 rd[i].data_size); 499 rd[i].data_size);
500 } 500 }