[PATCH 17/19 v2] Set padding bytes to 0 in WriteToClient
keithp at keithp.com
Mon Jul 2 22:43:43 PDT 2012
Alan Coopersmith <alan.coopersmith at oracle.com> writes:
> Clear them out when needed instead of leaving whatever values were
> present in previously sent messages.
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> v2: Simplified as suggested by Keith to just use memset instead of a
> Duff-device style switch statement, since most calls won't need this.
Reviewed-by: Keith Packard <keithp at keithp.com>
Any response to my complaint about mixing initializers and struct value
assignment styles? I'm afraid I've scared you off...
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the xorg-devel