diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-09 17:33:04 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-09 17:33:04 +0200 |
commit | 8bb475af99260f1d107dbc8908268ae93960aa83 (patch) | |
tree | 1a7a1fc03424df841a6f977b137482439b09bc9f /src/namestore/plugin_namestore_flat.c | |
parent | 1f80a11e90ee982bffaae4685e281f75ee1c225d (diff) | |
download | gnunet-8bb475af99260f1d107dbc8908268ae93960aa83.tar.gz gnunet-8bb475af99260f1d107dbc8908268ae93960aa83.zip |
implement new functions in libgnunetsq, clean up sqlite namestore plugin, implement flow control in namestore API and tests
Diffstat (limited to 'src/namestore/plugin_namestore_flat.c')
-rw-r--r-- | src/namestore/plugin_namestore_flat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c index bbb9e3c62..df9f424a6 100644 --- a/src/namestore/plugin_namestore_flat.c +++ b/src/namestore/plugin_namestore_flat.c | |||
@@ -364,10 +364,10 @@ store_and_free_entries (void *cls, | |||
364 | &record_data_b64); | 364 | &record_data_b64); |
365 | } | 365 | } |
366 | GNUNET_asprintf (&line, | 366 | GNUNET_asprintf (&line, |
367 | "%s,%lu,%u,%s,%s\n", | 367 | "%s,%llu,%u,%s,%s\n", |
368 | zone_private_key, | 368 | zone_private_key, |
369 | entry->rvalue, | 369 | (unsigned long long) entry->rvalue, |
370 | entry->record_count, | 370 | (unsigned int) entry->record_count, |
371 | record_data_b64, | 371 | record_data_b64, |
372 | entry->label); | 372 | entry->label); |
373 | GNUNET_free (record_data_b64); | 373 | GNUNET_free (record_data_b64); |