Re: [Xen-devel] [PATCH v3 09/31] libxl_qmp: Move struct sockaddr_un variable to qmp_open()

2018-06-27 Thread Anthony PERARD
On Wed, Jun 27, 2018 at 03:31:21PM +0100, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH v3 09/31] libxl_qmp: Move struct sockaddr_un > variable to qmp_open()"): > ... > > And allow strncpy to use all the space in sun_path. > > I wasn't able to see in the diff what this entry in the commit

Re: [Xen-devel] [PATCH v3 09/31] libxl_qmp: Move struct sockaddr_un variable to qmp_open()

2018-06-27 Thread Ian Jackson
Anthony PERARD writes ("[PATCH v3 09/31] libxl_qmp: Move struct sockaddr_un variable to qmp_open()"): ... > And allow strncpy to use all the space in sun_path. I wasn't able to see in the diff what this entry in the commit message refers to. Thanks, Ian.

[Xen-devel] [PATCH v3 09/31] libxl_qmp: Move struct sockaddr_un variable to qmp_open()

2018-06-01 Thread Anthony PERARD
This variable is only used once, no need to keep it in the handler. Also fix coding style (remove space after sizeof). And allow strncpy to use all the space in sun_path. Signed-off-by: Anthony PERARD --- tools/libxl/libxl_qmp.c | 14 ++ 1 file changed, 6 insertions(+), 8