aboutsummaryrefslogtreecommitdiff
path: root/src/datacache
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-04 22:29:52 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-04 22:29:52 +0100
commit70a66289307333b1edfc1fbb38c2232deb5ae2ab (patch)
treeb9f3ef71a5e272e78b6532e870b2fdfae715e98f /src/datacache
parent6f1e5e46c284bf5f172404e49b0861912a09493a (diff)
downloadgnunet-70a66289307333b1edfc1fbb38c2232deb5ae2ab.tar.gz
gnunet-70a66289307333b1edfc1fbb38c2232deb5ae2ab.zip
fix major initialization issue in datacache postgres plugin
Diffstat (limited to 'src/datacache')
-rw-r--r--src/datacache/plugin_datacache_postgres.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c
index 2fe6498a5..2c233c4c2 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -538,6 +538,14 @@ extract_result_cb (void *cls,
538 GNUNET_PQ_result_spec_end 538 GNUNET_PQ_result_spec_end
539 }; 539 };
540 540
541 if (GNUNET_YES !=
542 GNUNET_PQ_extract_result (result,
543 rs,
544 i))
545 {
546 GNUNET_break (0);
547 return;
548 }
541 if (0 != (path_len % sizeof (struct GNUNET_PeerIdentity))) 549 if (0 != (path_len % sizeof (struct GNUNET_PeerIdentity)))
542 { 550 {
543 GNUNET_break (0); 551 GNUNET_break (0);