aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_namestore_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-02-06 17:33:40 +0000
committerChristian Grothoff <christian@grothoff.org>2016-02-06 17:33:40 +0000
commit85cc361c21c0e1e45d1f2c0fd2ce7c3ee1e2528c (patch)
tree26e0c875d6db9f2fa792c9703fcea532589e521f /src/namestore/plugin_namestore_postgres.c
parentb7f29be97540eca5c2d5d2c7802849aec87e70c0 (diff)
make some more use of libgnunetpq
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r--src/namestore/plugin_namestore_postgres.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c
index 599c7ef2eb..9118ca5cff 100644
--- a/src/namestore/plugin_namestore_postgres.c
+++ b/src/namestore/plugin_namestore_postgres.c
@@ -1,6 +1,6 @@
/*
* This file is part of GNUnet
- * Copyright (C) 2009-2013 GNUnet e.V.
+ * Copyright (C) 2009-2013, 2016 GNUnet e.V.
*
* GNUnet is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
@@ -28,6 +28,7 @@
#include "gnunet_namestore_service.h"
#include "gnunet_gnsrecord_lib.h"
#include "gnunet_postgres_lib.h"
+#include "gnunet_pq_lib.h"
#include "namestore.h"
@@ -241,6 +242,7 @@ namestore_postgres_store_records (void *cls,
}
{
char data[data_size];
+ // FIXME: use libgnunetpq!
const char *paramValues[] = {
(const char *) zone_key,
(const char *) &pkey,