On Wed, Apr 5, 2017 at 11:11 PM, Ben Pfaff <b...@ovn.org> wrote:
> When both arguments to ovs_strlcpy() are character arrays, it makes sense
> to just pass the smaller of their sizes as the overall size.  It's
> somewhat error-prone and definitely redundant to write that by hand, so
> this commit adds a new macro that does it automatically.
>
> Signed-off-by: Ben Pfaff <b...@ovn.org>

Nice!
Acked-by: Andy Zhou <az...@ovn.org>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to