mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
nwfilter: Change the comment style
The more common habit is to add the comment after the statements.
This commit is contained in:
parent
1f9dcbc7f1
commit
1f49c0e138
@ -369,7 +369,7 @@ virNWFilterSnoopListAdd(virNWFilterSnoopIPLeasePtr plnew,
|
|||||||
|
|
||||||
for (pl = *end; pl && plnew->timeout < pl->timeout;
|
for (pl = *end; pl && plnew->timeout < pl->timeout;
|
||||||
pl = pl->prev)
|
pl = pl->prev)
|
||||||
/* empty */ ;
|
; /* empty */
|
||||||
|
|
||||||
if (!pl) {
|
if (!pl) {
|
||||||
plnew->next = *start;
|
plnew->next = *start;
|
||||||
@ -526,7 +526,7 @@ virNWFilterSnoopIPLeaseGetByIP(virNWFilterSnoopIPLeasePtr start,
|
|||||||
for (pl = start;
|
for (pl = start;
|
||||||
pl && !virSocketAddrEqual(&pl->ipAddress, ipaddr);
|
pl && !virSocketAddrEqual(&pl->ipAddress, ipaddr);
|
||||||
pl = pl->next)
|
pl = pl->next)
|
||||||
/* empty */ ;
|
; /* empty */
|
||||||
return pl;
|
return pl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user