diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-05 11:23:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-05 11:23:06 +0000 |
commit | 3066c800a6d6b6e16d6c174519025608b6f7f250 (patch) | |
tree | f6b216578bf89c7474b40c7566c267dabcdc2f0d /src/namestore/plugin_namestore_sqlite.c | |
parent | e097895ea54b316c3ede8640f6dd49f864313a2d (diff) | |
download | gnunet-3066c800a6d6b6e16d6c174519025608b6f7f250.tar.gz gnunet-3066c800a6d6b6e16d6c174519025608b6f7f250.zip |
-allow passing NULL for zone to iterate over all of our zones
Diffstat (limited to 'src/namestore/plugin_namestore_sqlite.c')
-rw-r--r-- | src/namestore/plugin_namestore_sqlite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 0a3da174b..437a2efd6 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c | |||
@@ -762,7 +762,7 @@ namestore_sqlite_iterate_records (void *cls, | |||
762 | sqlite3_stmt *stmt; | 762 | sqlite3_stmt *stmt; |
763 | 763 | ||
764 | stmt = plugin->iterate_zone; | 764 | stmt = plugin->iterate_zone; |
765 | 765 | // FIXME: does not hanlde NULL for zone! | |
766 | if ( (SQLITE_OK != sqlite3_bind_blob (stmt, 1, | 766 | if ( (SQLITE_OK != sqlite3_bind_blob (stmt, 1, |
767 | zone, sizeof (struct GNUNET_CRYPTO_EccPrivateKey), | 767 | zone, sizeof (struct GNUNET_CRYPTO_EccPrivateKey), |
768 | SQLITE_STATIC)) || | 768 | SQLITE_STATIC)) || |