diff options
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r-- | src/namestore/plugin_namestore_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c index 0f2721771..0a8f0fbe8 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/namestore/plugin_namestore_postgres.c | |||
@@ -476,7 +476,7 @@ namestore_postgres_store_records (void *cls, | |||
476 | 476 | ||
477 | memset (&pkey, 0, sizeof (pkey)); | 477 | memset (&pkey, 0, sizeof (pkey)); |
478 | for (i=0;i<rd_count;i++) | 478 | for (i=0;i<rd_count;i++) |
479 | if (GNUNET_NAMESTORE_TYPE_PKEY == rd[i].record_type) | 479 | if (GNUNET_GNSRECORD_TYPE_PKEY == rd[i].record_type) |
480 | { | 480 | { |
481 | GNUNET_break (sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey) == rd[i].data_size); | 481 | GNUNET_break (sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey) == rd[i].data_size); |
482 | memcpy (&pkey, | 482 | memcpy (&pkey, |