]> the.earth.li Git - onak.git/blobdiff - lookup.c
Add Vim backup files + GNU Global tags to .gitignore
[onak.git] / lookup.c
index 12eb5a2b00ccf277355177003976464923186cc9..fda1686234f06160dfd7af7be1819c441fcf2bc2 100644 (file)
--- 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 <https://www.gnu.org/licenses/>.
  */
 
 #include <inttypes.h>
@@ -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: