X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=lookup.c;h=fda1686234f06160dfd7af7be1819c441fcf2bc2;hb=5719b2b50c87d77e4ed1cc054f000845fc9aa8cc;hp=12eb5a2b00ccf277355177003976464923186cc9;hpb=1a084272fd5c603f318d2c4dc0c70b2de0606f04;p=onak.git
diff --git a/lookup.c b/lookup.c
index 12eb5a2..fda1686 100644
--- a/lookup.c
+++ b/lookup.c
@@ -13,8 +13,7 @@
* 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
@@ -215,7 +214,7 @@ int main(int argc, char *argv[])
readconfig(NULL);
initlogthing("lookup", config.logfile);
catchsignals();
- dbctx = config.dbinit(false);
+ dbctx = config.dbinit(config.backend, false);
switch (op) {
case OP_GET:
case OP_HGET: