From cbd6dae60208189651500e61dc0810dbcc148c65 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 30 Sep 2016 20:54:52 +0000 Subject: psycstore: fix puckish copy&paste in postgres plugin --- src/psycstore/plugin_psycstore_postgres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/psycstore/plugin_psycstore_postgres.c') 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, GNUNET_PQ_query_param_end }; - ret = GNUNET_PQ_exec_prepared (plugin->dbh, "insert_slave_key", params); + ret = GNUNET_PQ_exec_prepared (plugin->dbh, "insert_membership", params); if (GNUNET_OK != GNUNET_POSTGRES_check_result (plugin->dbh, ret, PGRES_COMMAND_OK, - "PQexecPrepared", "insert_slave_key")) + "PQexecPrepared", "insert_membership")) { return GNUNET_SYSERR; } -- cgit v1.2.3