mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +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)
|
||||
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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user