diff options
-rw-r--r-- | src/psycstore/plugin_psycstore_postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/psycstore/plugin_psycstore_postgres.c b/src/psycstore/plugin_psycstore_postgres.c index 8db3c1a61..1111da895 100644 --- a/src/psycstore/plugin_psycstore_postgres.c +++ b/src/psycstore/plugin_psycstore_postgres.c | |||
@@ -667,12 +667,12 @@ postgres_membership_store (void *cls, | |||
667 | GNUNET_PQ_query_param_end | 667 | GNUNET_PQ_query_param_end |
668 | }; | 668 | }; |
669 | 669 | ||
670 | ret = GNUNET_PQ_exec_prepared (plugin->dbh, "insert_slave_key", params); | 670 | ret = GNUNET_PQ_exec_prepared (plugin->dbh, "insert_membership", params); |
671 | if (GNUNET_OK != | 671 | if (GNUNET_OK != |
672 | GNUNET_POSTGRES_check_result (plugin->dbh, | 672 | GNUNET_POSTGRES_check_result (plugin->dbh, |
673 | ret, | 673 | ret, |
674 | PGRES_COMMAND_OK, | 674 | PGRES_COMMAND_OK, |
675 | "PQexecPrepared", "insert_slave_key")) | 675 | "PQexecPrepared", "insert_membership")) |
676 | { | 676 | { |
677 | return GNUNET_SYSERR; | 677 | return GNUNET_SYSERR; |
678 | } | 678 | } |