mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
Fix some coding style issues
Fix some coding style issues with alignment and spaces. Signed-off-by: jiangjiacheng <jiangjiacheng@huawei.com> Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
This commit is contained in:
parent
381c8dbde0
commit
6a56f325c8
@ -26194,7 +26194,7 @@ virDomainMemorytuneDefFormat(virBuffer *buf,
|
|||||||
&childrenBuf) < 0)
|
&childrenBuf) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
for (i = 0; i< resctrl->nmonitors; i++) {
|
for (i = 0; i < resctrl->nmonitors; i++) {
|
||||||
if (virDomainResctrlMonDefFormatHelper(resctrl->monitors[i],
|
if (virDomainResctrlMonDefFormatHelper(resctrl->monitors[i],
|
||||||
VIR_RESCTRL_MONITOR_TYPE_MEMBW,
|
VIR_RESCTRL_MONITOR_TYPE_MEMBW,
|
||||||
&childrenBuf) < 0)
|
&childrenBuf) < 0)
|
||||||
|
@ -416,15 +416,15 @@ virNetServerClientNewInternal(unsigned long long id,
|
|||||||
|
|
||||||
|
|
||||||
virNetServerClient *virNetServerClientNew(unsigned long long id,
|
virNetServerClient *virNetServerClientNew(unsigned long long id,
|
||||||
virNetSocket *sock,
|
virNetSocket *sock,
|
||||||
int auth,
|
int auth,
|
||||||
bool readonly,
|
bool readonly,
|
||||||
size_t nrequests_max,
|
size_t nrequests_max,
|
||||||
virNetTLSContext *tls,
|
virNetTLSContext *tls,
|
||||||
virNetServerClientPrivNew privNew,
|
virNetServerClientPrivNew privNew,
|
||||||
virNetServerClientPrivPreExecRestart privPreExecRestart,
|
virNetServerClientPrivPreExecRestart privPreExecRestart,
|
||||||
virFreeCallback privFree,
|
virFreeCallback privFree,
|
||||||
void *privOpaque)
|
void *privOpaque)
|
||||||
{
|
{
|
||||||
virNetServerClient *client;
|
virNetServerClient *client;
|
||||||
time_t now;
|
time_t now;
|
||||||
@ -454,11 +454,11 @@ virNetServerClient *virNetServerClientNew(unsigned long long id,
|
|||||||
|
|
||||||
|
|
||||||
virNetServerClient *virNetServerClientNewPostExecRestart(virNetServer *srv,
|
virNetServerClient *virNetServerClientNewPostExecRestart(virNetServer *srv,
|
||||||
virJSONValue *object,
|
virJSONValue *object,
|
||||||
virNetServerClientPrivNewPostExecRestart privNew,
|
virNetServerClientPrivNewPostExecRestart privNew,
|
||||||
virNetServerClientPrivPreExecRestart privPreExecRestart,
|
virNetServerClientPrivPreExecRestart privPreExecRestart,
|
||||||
virFreeCallback privFree,
|
virFreeCallback privFree,
|
||||||
void *privOpaque)
|
void *privOpaque)
|
||||||
{
|
{
|
||||||
virJSONValue *child;
|
virJSONValue *child;
|
||||||
virNetServerClient *client = NULL;
|
virNetServerClient *client = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user