On Mon, Jun 20, 2016 at 03:07:52PM +0300, Dmitry V. Levin wrote: > On Sat, Jun 18, 2016 at 07:13:54PM +0200, Antoine Damhet wrote: [...] > > + if (_IOC_SIZE(type) > 0) { > > + tprints("["); > > + printxval(x, type, str); > > + tprints(", "); > > + if (pos + sizeof(type) + _IOC_SIZE(type) <= size) > > + printstr(tcp, buffer + pos + sizeof(type), > > + _IOC_SIZE(type)); > > + tprints("]"); > > > What's going to be printed when this condition is false?
Also, this object is not an array so let's print it like a structure. -- ldv
pgpcBmyDui0EE.pgp
Description: PGP signature
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohomanageengine
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel