From 1962ed6b0b44c6c7d3503b3340da1be147e25f87 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Sat, 22 Jan 2022 00:26:43 +0100 Subject: improvements in extension handling - extensions_sig is needed globally - keep original json with config of extension - fixed various bugs re: extension handling --- src/exchangedb/plugin_exchangedb_postgres.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/exchangedb/plugin_exchangedb_postgres.c') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 918fc38c..f9f0ce41 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -11455,6 +11455,7 @@ postgres_get_extension_config (void *cls, GNUNET_PQ_query_param_end }; bool is_null; + *config = NULL; struct GNUNET_PQ_ResultSpec rs[] = { GNUNET_PQ_result_spec_allow_null ( GNUNET_PQ_result_spec_string ("config", config), @@ -11467,10 +11468,6 @@ postgres_get_extension_config (void *cls, "get_extension_config", params, rs); - if (is_null) - { - *config = NULL; - } return qs; } -- cgit v1.2.3