aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
commitcddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch)
treeb704e00a3af618b2cd174a7f89514eaebd82a1cf /src/datastore/plugin_datastore_postgres.c
parentbb4fc4f4007988874f910d4de5492f9629301641 (diff)
downloadgnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz
gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r--src/datastore/plugin_datastore_postgres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c
index d71d5e0ef..4e44107b6 100644
--- a/src/datastore/plugin_datastore_postgres.c
+++ b/src/datastore/plugin_datastore_postgres.c
@@ -65,7 +65,7 @@ struct Plugin
65 * Check if the result obtained from Postgres has 65 * Check if the result obtained from Postgres has
66 * the desired status code. If not, log an error, clear the 66 * the desired status code. If not, log an error, clear the
67 * result and return GNUNET_SYSERR. 67 * result and return GNUNET_SYSERR.
68 * 68 *
69 * @param plugin global context 69 * @param plugin global context
70 * @param ret result to check 70 * @param ret result to check
71 * @param expected_status expected return value 71 * @param expected_status expected return value
@@ -582,7 +582,7 @@ process_result (struct Plugin *plugin, PluginDatumProcessor proc,
582 * in the datastore. 582 * in the datastore.
583 * 583 *
584 * @param cls closure 584 * @param cls closure
585 * @param offset offset of the result (modulo num-results); 585 * @param offset offset of the result (modulo num-results);
586 * specific ordering does not matter for the offset 586 * specific ordering does not matter for the offset
587 * @param key maybe NULL (to match all entries) 587 * @param key maybe NULL (to match all entries)
588 * @param vhash hash of the value, maybe NULL (to 588 * @param vhash hash of the value, maybe NULL (to
@@ -822,7 +822,7 @@ repl_proc (void *cls, const GNUNET_HashCode * key, uint32_t size,
822 822
823/** 823/**
824 * Get a random item for replication. Returns a single, not expired, random item 824 * Get a random item for replication. Returns a single, not expired, random item
825 * from those with the highest replication counters. The item's 825 * from those with the highest replication counters. The item's
826 * replication counter is decremented by one IF it was positive before. 826 * replication counter is decremented by one IF it was positive before.
827 * Call 'proc' with all values ZERO or NULL if the datastore is empty. 827 * Call 'proc' with all values ZERO or NULL if the datastore is empty.
828 * 828 *