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:
jiangjiacheng 2022-09-06 21:48:31 +08:00 committed by Michal Privoznik
parent 381c8dbde0
commit 6a56f325c8
2 changed files with 15 additions and 15 deletions

View File

@ -26194,7 +26194,7 @@ virDomainMemorytuneDefFormat(virBuffer *buf,
&childrenBuf) < 0)
return -1;
for (i = 0; i< resctrl->nmonitors; i++) {
for (i = 0; i < resctrl->nmonitors; i++) {
if (virDomainResctrlMonDefFormatHelper(resctrl->monitors[i],
VIR_RESCTRL_MONITOR_TYPE_MEMBW,
&childrenBuf) < 0)

View File

@ -416,15 +416,15 @@ virNetServerClientNewInternal(unsigned long long id,
virNetServerClient *virNetServerClientNew(unsigned long long id,
virNetSocket *sock,
int auth,
bool readonly,
size_t nrequests_max,
virNetTLSContext *tls,
virNetServerClientPrivNew privNew,
virNetServerClientPrivPreExecRestart privPreExecRestart,
virFreeCallback privFree,
void *privOpaque)
virNetSocket *sock,
int auth,
bool readonly,
size_t nrequests_max,
virNetTLSContext *tls,
virNetServerClientPrivNew privNew,
virNetServerClientPrivPreExecRestart privPreExecRestart,
virFreeCallback privFree,
void *privOpaque)
{
virNetServerClient *client;
time_t now;
@ -454,11 +454,11 @@ virNetServerClient *virNetServerClientNew(unsigned long long id,
virNetServerClient *virNetServerClientNewPostExecRestart(virNetServer *srv,
virJSONValue *object,
virNetServerClientPrivNewPostExecRestart privNew,
virNetServerClientPrivPreExecRestart privPreExecRestart,
virFreeCallback privFree,
void *privOpaque)
virJSONValue *object,
virNetServerClientPrivNewPostExecRestart privNew,
virNetServerClientPrivPreExecRestart privPreExecRestart,
virFreeCallback privFree,
void *privOpaque)
{
virJSONValue *child;
virNetServerClient *client = NULL;