aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/plugin_peerstore_flat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerstore/plugin_peerstore_flat.c')
-rw-r--r--src/peerstore/plugin_peerstore_flat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peerstore/plugin_peerstore_flat.c b/src/peerstore/plugin_peerstore_flat.c
index 6983ff2d8..06e6c0b77 100644
--- a/src/peerstore/plugin_peerstore_flat.c
+++ b/src/peerstore/plugin_peerstore_flat.c
@@ -443,7 +443,7 @@ database_setup (struct Plugin *plugin)
443 o = NULL; 443 o = NULL;
444 s = GNUNET_STRINGS_base64_decode (peer, 444 s = GNUNET_STRINGS_base64_decode (peer,
445 strlen (peer), 445 strlen (peer),
446 (void**) &o); 446 (void **) &o);
447 if (sizeof(struct GNUNET_PeerIdentity) == s) 447 if (sizeof(struct GNUNET_PeerIdentity) == s)
448 GNUNET_memcpy (&entry->peer, 448 GNUNET_memcpy (&entry->peer,
449 o, 449 o,
@@ -454,7 +454,7 @@ database_setup (struct Plugin *plugin)
454 } 454 }
455 entry->value_size = GNUNET_STRINGS_base64_decode (value, 455 entry->value_size = GNUNET_STRINGS_base64_decode (value,
456 strlen (value), 456 strlen (value),
457 (void**) &entry->value); 457 (void **) &entry->value);
458 if (GNUNET_SYSERR == 458 if (GNUNET_SYSERR ==
459 GNUNET_STRINGS_fancy_time_to_absolute (expiry, 459 GNUNET_STRINGS_fancy_time_to_absolute (expiry,
460 &entry->expiry)) 460 &entry->expiry))
@@ -496,7 +496,7 @@ store_and_free_entries (void *cls,
496 entry->value_size, 496 entry->value_size,
497 &val); 497 &val);
498 expiry = GNUNET_STRINGS_absolute_time_to_string (entry->expiry); 498 expiry = GNUNET_STRINGS_absolute_time_to_string (entry->expiry);
499 GNUNET_STRINGS_base64_encode ((char*) &entry->peer, 499 GNUNET_STRINGS_base64_encode ((char *) &entry->peer,
500 sizeof(struct GNUNET_PeerIdentity), 500 sizeof(struct GNUNET_PeerIdentity),
501 &peer); 501 &peer);
502 GNUNET_asprintf (&line, 502 GNUNET_asprintf (&line,