diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-04 22:29:52 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-04 22:29:52 +0100 |
commit | 70a66289307333b1edfc1fbb38c2232deb5ae2ab (patch) | |
tree | b9f3ef71a5e272e78b6532e870b2fdfae715e98f /src/datacache/plugin_datacache_postgres.c | |
parent | 6f1e5e46c284bf5f172404e49b0861912a09493a (diff) |
fix major initialization issue in datacache postgres plugin
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r-- | src/datacache/plugin_datacache_postgres.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c index 2fe6498a51..2c233c4c21 100644 --- a/src/datacache/plugin_datacache_postgres.c +++ b/src/datacache/plugin_datacache_postgres.c @@ -538,6 +538,14 @@ extract_result_cb (void *cls, GNUNET_PQ_result_spec_end }; + if (GNUNET_YES != + GNUNET_PQ_extract_result (result, + rs, + i)) + { + GNUNET_break (0); + return; + } if (0 != (path_len % sizeof (struct GNUNET_PeerIdentity))) { GNUNET_break (0); |