[PATCH v6 2/4] Add a general netlink socket parser

Dmitry V. Levin ldv at altlinux.org
Tue Jun 21 17:24:50 UTC 2016


On Tue, Jun 21, 2016 at 02:42:44PM +0000, Fabien Siron wrote:
[...]
> +		case IOV_DECODE_NETLINK:
> +		{
> +			if (len > c->data_size)
> +				len = c->data_size;
> +			c->data_size -= len;
> +			decode_netlink(tcp, iov[0], iov[1]);
> +			break;
> +		}

These braces are redundant.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160621/ef78d24e/attachment.bin>


More information about the Strace-devel mailing list