mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 07:05:28 +00:00
remote: remoteDispatchDomainGetJobStats: Encode typed parameter strings
String typed parameter values were introduced in v0.9.7-30-g40624d32fb. virDomainGetJobStats was introduced in v1.0.2-239-g4dd00f4238 so all clients already support typed parameter stings at that time thus we can enable it unconditionally. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
e2f1e2687f
commit
e77a094141
@ -5505,7 +5505,7 @@ remoteDispatchDomainGetJobStats(virNetServerPtr server G_GNUC_UNUSED,
|
|||||||
REMOTE_DOMAIN_JOB_STATS_MAX,
|
REMOTE_DOMAIN_JOB_STATS_MAX,
|
||||||
(virTypedParameterRemotePtr *) &ret->params.params_val,
|
(virTypedParameterRemotePtr *) &ret->params.params_val,
|
||||||
&ret->params.params_len,
|
&ret->params.params_len,
|
||||||
0) < 0)
|
VIR_TYPED_PARAM_STRING_OKAY) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
rv = 0;
|
rv = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user