diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-01-22 00:26:43 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-01-22 00:26:43 +0100 |
commit | 1962ed6b0b44c6c7d3503b3340da1be147e25f87 (patch) | |
tree | 753f6eb6a598e86b7ebd8e24251ca2eacb65dcb7 /src/exchangedb/plugin_exchangedb_postgres.c | |
parent | 0b56de6c994d3e525aa2d0195ff4607db3f14715 (diff) |
improvements in extension handling
- extensions_sig is needed globally
- keep original json with config of extension
- fixed various bugs re: extension handling
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; } |