diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-02 23:47:09 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-02 23:47:09 +0100 |
commit | 30ecc23f94aff98f1cfde23a82b455693f8aec15 (patch) | |
tree | db33bd658a80aa674ea3386fd5877cda66607b23 /src/namestore/plugin_namestore_sqlite.c | |
parent | 061c93625c8c5c96b2a8059b167cc3f637c80bd7 (diff) | |
download | gnunet-30ecc23f94aff98f1cfde23a82b455693f8aec15.tar.gz gnunet-30ecc23f94aff98f1cfde23a82b455693f8aec15.zip |
style fixes
Diffstat (limited to 'src/namestore/plugin_namestore_sqlite.c')
-rw-r--r-- | src/namestore/plugin_namestore_sqlite.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 2ffc12f92..23af3960d 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c | |||
@@ -501,16 +501,10 @@ get_records_and_call_iterator (struct Plugin *plugin, | |||
501 | GNUNET_SQ_result_spec_end | 501 | GNUNET_SQ_result_spec_end |
502 | }; | 502 | }; |
503 | 503 | ||
504 | if (NULL == zone_key) | 504 | ret = GNUNET_SQ_extract_result (stmt, |
505 | { | 505 | (NULL == zone_key) |
506 | ret = GNUNET_SQ_extract_result (stmt, | 506 | ? rsx |
507 | rsx); | 507 | : rs); |
508 | } | ||
509 | else | ||
510 | { | ||
511 | ret = GNUNET_SQ_extract_result (stmt, | ||
512 | rs); | ||
513 | } | ||
514 | if ( (GNUNET_OK != ret) || | 508 | if ( (GNUNET_OK != ret) || |
515 | (record_count > 64 * 1024) ) | 509 | (record_count > 64 * 1024) ) |
516 | { | 510 | { |