(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:
parent
02584d8a50
commit
f41e44fb74
3 changed files with 14 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue