diff options
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r-- | src/datacache/plugin_datacache_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c index e5b250531..147bb4223 100644 --- a/src/datacache/plugin_datacache_postgres.c +++ b/src/datacache/plugin_datacache_postgres.c | |||
@@ -399,7 +399,7 @@ postgres_plugin_del (void *cls) | |||
399 | } | 399 | } |
400 | size = ntohl (*(uint32_t *) PQgetvalue (res, 0, 0)); | 400 | size = ntohl (*(uint32_t *) PQgetvalue (res, 0, 0)); |
401 | oid = ntohl (*(uint32_t *) PQgetvalue (res, 0, 1)); | 401 | oid = ntohl (*(uint32_t *) PQgetvalue (res, 0, 1)); |
402 | memcpy (&key, PQgetvalue (res, 0, 2), sizeof (struct GNUNET_HashCode)); | 402 | GNUNET_memcpy (&key, PQgetvalue (res, 0, 2), sizeof (struct GNUNET_HashCode)); |
403 | PQclear (res); | 403 | PQclear (res); |
404 | if (GNUNET_OK != | 404 | if (GNUNET_OK != |
405 | GNUNET_POSTGRES_delete_by_rowid (plugin->dbh, | 405 | GNUNET_POSTGRES_delete_by_rowid (plugin->dbh, |