diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-16 19:25:39 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-16 19:25:39 +0000 |
commit | 5a1cfab1ad8ca25be6e74f981da36a9afa0f6f60 (patch) | |
tree | 2807467db32cb98a9f75d57ce5d2fe24d1bd91ed /src/namestore/plugin_namestore_postgres.c | |
parent | 4839fff11f31cac9af0cfbe1d67b6961d5f1b88f (diff) | |
download | gnunet-5a1cfab1ad8ca25be6e74f981da36a9afa0f6f60.tar.gz gnunet-5a1cfab1ad8ca25be6e74f981da36a9afa0f6f60.zip |
fix: fail to compile
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r-- | src/namestore/plugin_namestore_postgres.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c index fba2b47b4..b3a8f59ea 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/namestore/plugin_namestore_postgres.c | |||
@@ -362,7 +362,7 @@ namestore_postgres_put_records (void *cls, | |||
362 | } | 362 | } |
363 | #endif | 363 | #endif |
364 | 364 | ||
365 | 365 | #if 0 | |
366 | /** | 366 | /** |
367 | * The given 'postgres' result was obtained from the database. | 367 | * The given 'postgres' result was obtained from the database. |
368 | * Parse the record and give it to the iterator. | 368 | * Parse the record and give it to the iterator. |
@@ -460,7 +460,7 @@ get_record_and_call_iterator (struct Plugin *plugin, | |||
460 | PQclear (res); | 460 | PQclear (res); |
461 | return GNUNET_OK; | 461 | return GNUNET_OK; |
462 | } | 462 | } |
463 | 463 | #endif | |
464 | 464 | ||
465 | /** | 465 | /** |
466 | * Iterate over the results for a particular key and zone in the | 466 | * Iterate over the results for a particular key and zone in the |
@@ -588,7 +588,7 @@ namestore_postgres_zone_to_name (void *cls, | |||
588 | return GNUNET_SYSERR; | 588 | return GNUNET_SYSERR; |
589 | } | 589 | } |
590 | 590 | ||
591 | 591 | #if 0 | |
592 | /** | 592 | /** |
593 | * Delete an entire zone (all records). Not used in normal operation. | 593 | * Delete an entire zone (all records). Not used in normal operation. |
594 | * | 594 | * |
@@ -604,6 +604,7 @@ namestore_postgres_delete_zone (void *cls, | |||
604 | const char *paramValues[] = { | 604 | const char *paramValues[] = { |
605 | (const char *) zone, | 605 | (const char *) zone, |
606 | }; | 606 | }; |
607 | |||
607 | int paramLengths[] = { | 608 | int paramLengths[] = { |
608 | sizeof (struct GNUNET_CRYPTO_ShortHashCode) | 609 | sizeof (struct GNUNET_CRYPTO_ShortHashCode) |
609 | }; | 610 | }; |
@@ -621,6 +622,7 @@ namestore_postgres_delete_zone (void *cls, | |||
621 | } | 622 | } |
622 | PQclear (ret); | 623 | PQclear (ret); |
623 | } | 624 | } |
625 | #endif | ||
624 | 626 | ||
625 | /** | 627 | /** |
626 | * Cache a block in the datastore. | 628 | * Cache a block in the datastore. |