diff options
-rw-r--r-- | mandocdb.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -130,7 +130,7 @@ struct mdoc_handler { }; static void dbclose(int); -static void dbindex(const struct mpage *, struct mchars *); +static void dbadd(const struct mpage *, struct mchars *); static int dbopen(int); static void dbprune(void); static void filescan(const char *); @@ -1047,7 +1047,7 @@ mpages_merge(struct mchars *mc, struct mparse *mp) else parse_cat(mpage); - dbindex(mpage, mc); + dbadd(mpage, mc); ohash_delete(&strings); mpage = ohash_next(&mpages, &pslot); } @@ -1732,7 +1732,7 @@ render_key(struct mchars *mc, struct str *key) * Also, handle escape sequences at the last possible moment. */ static void -dbindex(const struct mpage *mpage, struct mchars *mc) +dbadd(const struct mpage *mpage, struct mchars *mc) { struct mlink *mlink; struct str *key; @@ -1741,7 +1741,7 @@ dbindex(const struct mpage *mpage, struct mchars *mc) unsigned int slot; if (verb) - say(mpage->mlinks->file, "Adding to index"); + say(mpage->mlinks->file, "Adding to database"); if (nodb) return; @@ -1802,7 +1802,7 @@ dbprune(void) SQL_STEP(stmts[STMT_DELETE_PAGE]); sqlite3_reset(stmts[STMT_DELETE_PAGE]); if (verb) - say(mlink->file, "Deleted from index"); + say(mlink->file, "Deleted from database"); mpage = ohash_next(&mpages, &slot); } } |