(market_init): New.

(start_server): Call it.  Move initialization stuff to it, with error
checking added.
(market_update): Internal linkage.
This commit is contained in:
Markus Armbruster 2007-01-16 20:22:06 +00:00
parent 02584d8a50
commit f41e44fb74
3 changed files with 14 additions and 7 deletions

View file

@ -333,11 +333,7 @@ start_server(int flags)
"MobilityCheck", "Writes the timestamp file", 0);
}
if (opt_MARKET) {
empth_create(PP_TIMESTAMP, market_update, (50 * 1024), flags,
"MarketUpdate", "Updates the market", 0);
}
market_init();
update_init();
}