mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix indentions
This commit is contained in:
parent
7243752694
commit
cc3548abe3
@ -271,8 +271,8 @@ int virNetMessageEncodeNumFDs(virNetMessagePtr msg)
|
|||||||
|
|
||||||
if (numFDs > VIR_NET_MESSAGE_NUM_FDS_MAX) {
|
if (numFDs > VIR_NET_MESSAGE_NUM_FDS_MAX) {
|
||||||
virReportError(VIR_ERR_RPC,
|
virReportError(VIR_ERR_RPC,
|
||||||
_("Too many FDs to send %d, expected %d maximum"),
|
_("Too many FDs to send %d, expected %d maximum"),
|
||||||
numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX);
|
numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -309,8 +309,8 @@ int virNetMessageDecodeNumFDs(virNetMessagePtr msg)
|
|||||||
|
|
||||||
if (numFDs > VIR_NET_MESSAGE_NUM_FDS_MAX) {
|
if (numFDs > VIR_NET_MESSAGE_NUM_FDS_MAX) {
|
||||||
virReportError(VIR_ERR_RPC,
|
virReportError(VIR_ERR_RPC,
|
||||||
_("Received too many FDs %d, expected %d maximum"),
|
_("Received too many FDs %d, expected %d maximum"),
|
||||||
numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX);
|
numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,9 +37,9 @@
|
|||||||
* returns -1 if the file handle cannot be registered, 0 upon success
|
* returns -1 if the file handle cannot be registered, 0 upon success
|
||||||
*/
|
*/
|
||||||
int virEventPollAddHandle(int fd, int events,
|
int virEventPollAddHandle(int fd, int events,
|
||||||
virEventHandleCallback cb,
|
virEventHandleCallback cb,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
virFreeCallback ff);
|
virFreeCallback ff);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* virEventPollUpdateHandle: change event set for a monitored file handle
|
* virEventPollUpdateHandle: change event set for a monitored file handle
|
||||||
@ -74,9 +74,9 @@ int virEventPollRemoveHandle(int watch);
|
|||||||
* integer timer id upon success
|
* integer timer id upon success
|
||||||
*/
|
*/
|
||||||
int virEventPollAddTimeout(int frequency,
|
int virEventPollAddTimeout(int frequency,
|
||||||
virEventTimeoutCallback cb,
|
virEventTimeoutCallback cb,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
virFreeCallback ff);
|
virFreeCallback ff);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* virEventPollUpdateTimeout: change frequency for a timer
|
* virEventPollUpdateTimeout: change frequency for a timer
|
||||||
|
Loading…
Reference in New Issue
Block a user