ccanize tdb further, and add simple test.
[ccan] / ccan / tdb / open.c
index b19e4cea293df769a588db89c71df25529d677ec..8cd25cc5b5bc7802a9ebc3e7ad2ce0b7df4c9c28 100644 (file)
@@ -159,6 +159,7 @@ struct tdb_context *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
                errno = ENOMEM;
                goto fail;
        }
+
        tdb_io_init(tdb);
        tdb->fd = -1;
        tdb->name = NULL;