mirror of https://github.com/BOINC/boinc.git
client: parse product_name from state file only on Android
This commit is contained in:
parent
c1e96dd308
commit
a132fcba02
|
@ -93,7 +93,9 @@ int HOST_INFO::parse(XML_PARSER& xp, bool benchmarks_only) {
|
|||
}
|
||||
if (xp.parse_double("p_calculated", p_calculated)) continue;
|
||||
if (xp.parse_bool("p_vm_extensions_disabled", p_vm_extensions_disabled)) continue;
|
||||
#ifdef ANDROID
|
||||
if (xp.parse_str("product_name", product_name, sizeof(product_name))) continue;
|
||||
#endif
|
||||
|
||||
if (benchmarks_only) continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue