diff options
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index faf988517..332a8688b 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c | |||
@@ -946,7 +946,7 @@ postgres_plugin_get_keys (void *cls, | |||
946 | if (sizeof (struct GNUNET_HashCode) != | 946 | if (sizeof (struct GNUNET_HashCode) != |
947 | PQgetlength (res, i, 0)) | 947 | PQgetlength (res, i, 0)) |
948 | { | 948 | { |
949 | memcpy (&key, | 949 | GNUNET_memcpy (&key, |
950 | PQgetvalue (res, i, 0), | 950 | PQgetvalue (res, i, 0), |
951 | sizeof (struct GNUNET_HashCode)); | 951 | sizeof (struct GNUNET_HashCode)); |
952 | proc (proc_cls, &key, 1); | 952 | proc (proc_cls, &key, 1); |