279 |
let config_files_loaded = ref false |
let config_files_loaded = ref false |
280 |
|
|
281 |
let load _ = |
let load _ = |
|
lprintf_nl () "Loading stats"; |
|
282 |
(try |
(try |
283 |
Options.load bt_stats_ini; |
Options.load bt_stats_ini; |
284 |
with Sys_error _ -> ()); |
with Sys_error _ -> ()); |
331 |
(* Shut up message "Network.save/load_complex_options not implemented by BitTorrent" *) |
(* Shut up message "Network.save/load_complex_options not implemented by BitTorrent" *) |
332 |
network.op_network_load_complex_options <- load; |
network.op_network_load_complex_options <- load; |
333 |
network.op_network_save_complex_options <- save; |
network.op_network_save_complex_options <- save; |
334 |
|
network.op_network_update_options <- (fun _ -> ()); |
335 |
network.op_network_save_sources <- (fun _ -> ()) |
network.op_network_save_sources <- (fun _ -> ()) |