X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;ds=inline;f=hashquery.c;h=5c056a2d3298ab3bb37769cbcd92eb1c0faae7f4;hb=f8407f2ed06cdc0cca8c2421023255886c12ea6d;hp=965eaf9d19ab233c5b6c7b674d6b7237aff6122e;hpb=8e0907be1d73011075a99a0c029c56664e12843e;p=onak.git
diff --git a/hashquery.c b/hashquery.c
index 965eaf9..5c056a2 100644
--- a/hashquery.c
+++ b/hashquery.c
@@ -13,10 +13,10 @@
* more details.
*
* You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program. If not, see .
*/
+#include
#include
#include
#include
@@ -25,7 +25,7 @@
#include "charfuncs.h"
#include "cleanup.h"
-#include "keyid.h"
+#include "keydb.h"
#include "log.h"
#include "marshal.h"
#include "mem.h"
@@ -90,7 +90,7 @@ int main(int argc, char *argv[])
}
catchsignals();
- dbctx = config.dbinit(false);
+ dbctx = config.dbinit(config.backend, false);
if (dbctx->fetch_key_skshash == NULL) {
dbctx->cleanupdb(dbctx);