X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aft.c;h=4ff7ef198cf3f18de42836396b56bf221ff3cbc9;hb=f3c29f0f4c000f3d860c0da31d4387afc798a77a;hp=ec05846f870255a939a760fc15352a217b035010;hpb=5abf556a8fa8d974bf908672470f7bf09742309a;p=paraslash.git diff --git a/aft.c b/aft.c index ec05846f..4ff7ef19 100644 --- a/aft.c +++ b/aft.c @@ -1826,10 +1826,9 @@ int aft_init(struct table_info *ti, const char *db) audio_file_table_desc.dir = db; ti->desc = &audio_file_table_desc; - ret = osl_open_table(ti->desc, &ti->table); + ret = osl_open_table(ti->desc, &audio_file_table); if (ret >= 0) { unsigned num; - audio_file_table = ti->table; osl_get_num_rows(audio_file_table, &num); PARA_INFO_LOG("audio file table contains %d files\n", num); return ret;