X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=lookup.c;h=b8242563d8b62d9b28b50631bd13cb27c785c5dc;hb=6afb1be70692774239e25ff9fb1083bedc714031;hp=72798ceb103108f2541ec546ea7b87e0ae7cfd65;hpb=58d762ea573eb3cfea626bb52ea7a99e24b8a0aa;p=onak.git diff --git a/lookup.c b/lookup.c index 72798ce..b824256 100644 --- a/lookup.c +++ b/lookup.c @@ -5,7 +5,7 @@ * * 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 @@ -146,9 +146,9 @@ int main(int argc, char *argv[]) } 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)) {