projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70f2eee
)
(mdatabase__update): Fix the way to get db_info.
author
handa
<handa>
Mon, 16 Oct 2006 12:43:48 +0000
(12:43 +0000)
committer
handa
<handa>
Mon, 16 Oct 2006 12:43:48 +0000
(12:43 +0000)
src/database.c
patch
|
blob
|
history
diff --git
a/src/database.c
b/src/database.c
index
614fb9f
..
93cc5ff
100644
(file)
--- a/
src/database.c
+++ b/
src/database.c
@@
-804,11
+804,13
@@
mdatabase__update (void)
p2 = MPLIST_PLIST (p1);
MPLIST_DO (p2, MPLIST_NEXT (p2))
{
+ MDatabase *mdb;
MDatabaseInfo *db_info;
p3 = MPLIST_PLIST (p2);
p3 = MPLIST_NEXT (p3);
- db_info = MPLIST_VAL (p3);
+ mdb = MPLIST_VAL (p3);
+ db_info = mdb->extra_info;
if (db_info->status == MDB_STATUS_AUTO)
db_info->status = MDB_STATUS_DISABLED;
}