*
* Copyright 2002 Project Purple
*
- * $Id: lookup.c,v 1.11 2003/10/04 10:21:41 noodles Exp $
+ * $Id: lookup.c,v 1.13 2004/03/23 12:33:47 noodles Exp $
*/
#include <inttypes.h>
} else if (search == NULL) {
puts("Error: No key to search for supplied.");
} else {
- readconfig();
+ readconfig(NULL);
initlogthing("lookup", config.logfile);
- initdb();
+ initdb(true);
switch (op) {
case OP_GET:
if (fetch_key(keyid, &publickey, false)) {