mirror of
https://github.com/schoebel/mars
synced 2024-12-22 14:42:58 +00:00
client: refresh info asynchronously
This commit is contained in:
parent
d7adec9f1a
commit
dde0281e60
@ -414,8 +414,11 @@ timeout:
|
||||
status = -ETIME;
|
||||
if (output->got_info) {
|
||||
status = 0;
|
||||
if (info)
|
||||
if (info) {
|
||||
memcpy(info, &output->info, sizeof(*info));
|
||||
output->got_info = false;
|
||||
output->get_info = true;
|
||||
}
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user