aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/plugin_psycstore_postgres.c
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2016-09-30 20:54:52 +0000
committerDaniel Golle <daniel@makrotopia.org>2016-09-30 20:54:52 +0000
commitcbd6dae60208189651500e61dc0810dbcc148c65 (patch)
tree4bc2383d8ef4aac20919669f262483ee947e5028 /src/psycstore/plugin_psycstore_postgres.c
parente37772c47c60fd35de5858242d0f2109aabcd9d8 (diff)
psycstore: fix puckish copy&paste in postgres plugin
Diffstat (limited to 'src/psycstore/plugin_psycstore_postgres.c')
-rw-r--r--src/psycstore/plugin_psycstore_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/psycstore/plugin_psycstore_postgres.c b/src/psycstore/plugin_psycstore_postgres.c
index 8db3c1a617..1111da8956 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;
}