mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 07:45:17 +00:00
net: sockets -- Dont use multiline for() without braces
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
@@ -59,9 +59,10 @@ static struct socket_desc *lookup_socket(int ino)
|
|||||||
{
|
{
|
||||||
struct socket_desc *d;
|
struct socket_desc *d;
|
||||||
|
|
||||||
for (d = sockets[ino % SK_HASH_SIZE]; d != NULL; d = d->next)
|
for (d = sockets[ino % SK_HASH_SIZE]; d; d = d->next) {
|
||||||
if (d->ino == ino)
|
if (d->ino == ino)
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user