aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_postgres.c
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-08-16 09:20:46 +0200
committert3sserakt <t3ss@posteo.de>2021-08-16 09:21:00 +0200
commit0cd927b915340f09d19c8d2d6f6851c81340ec70 (patch)
tree3e435523b7eab4fe6247cf955c10fc47c111cdf4 /src/datacache/plugin_datacache_postgres.c
parent58b837048d27e04db8f5c02d6559fe7880c6cdb3 (diff)
parent26132842da462e44c397bda0941bcb9bf5e1c942 (diff)
downloadgnunet-0cd927b915340f09d19c8d2d6f6851c81340ec70.tar.gz
gnunet-0cd927b915340f09d19c8d2d6f6851c81340ec70.zip
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r--src/datacache/plugin_datacache_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c
index 724324ca4..6613ae928 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -306,7 +306,7 @@ postgres_plugin_get (void *cls,
306{ 306{
307 struct Plugin *plugin = cls; 307 struct Plugin *plugin = cls;
308 uint32_t type32 = (uint32_t) type; 308 uint32_t type32 = (uint32_t) type;
309 struct GNUNET_TIME_Absolute now; 309 struct GNUNET_TIME_Absolute now = { 0 };
310 struct GNUNET_PQ_QueryParam paramk[] = { 310 struct GNUNET_PQ_QueryParam paramk[] = {
311 GNUNET_PQ_query_param_auto_from_type (key), 311 GNUNET_PQ_query_param_auto_from_type (key),
312 GNUNET_PQ_query_param_absolute_time (&now), 312 GNUNET_PQ_query_param_absolute_time (&now),
@@ -424,7 +424,7 @@ postgres_plugin_get_random (void *cls,
424{ 424{
425 struct Plugin *plugin = cls; 425 struct Plugin *plugin = cls;
426 uint32_t off; 426 uint32_t off;
427 struct GNUNET_TIME_Absolute now; 427 struct GNUNET_TIME_Absolute now = { 0 };
428 struct GNUNET_TIME_Absolute expiration_time; 428 struct GNUNET_TIME_Absolute expiration_time;
429 size_t data_size; 429 size_t data_size;
430 void *data; 430 void *data;