client: refresh info asynchronously

This commit is contained in:
Thomas Schoebel-Theuer 2020-10-27 10:53:53 +01:00
parent d7adec9f1a
commit dde0281e60

View File

@ -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;
}