]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - attribute.c
Get rid of the "table" member in struct table_info.
[paraslash.git] / attribute.c
index 2fccac61ef6a1e7f28f9c3f139c6fb788507abd9..798a6cc4889fe02c7789fe10b282891fa76bee1f 100644 (file)
@@ -466,10 +466,9 @@ int attribute_init(struct table_info *ti, const char *db)
 
        attribute_table_desc.dir = db;
        ti->desc = &attribute_table_desc;
-       ret = osl_open_table(ti->desc, &ti->table);
+       ret = osl_open_table(ti->desc, attribute_table);
        greatest_att_bitnum = -1; /* no atts available */
        if (ret >= 0) {
-               attribute_table = ti->table;
                find_greatest_att_bitnum();
                return ret;
        }