提交 1f49c0e1 编写于 作者: O Osier Yang

nwfilter: Change the comment style

The more common habit is to add the comment after the statements.
上级 1f9dcbc7
...@@ -369,7 +369,7 @@ virNWFilterSnoopListAdd(virNWFilterSnoopIPLeasePtr plnew, ...@@ -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, ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册