qemu/ui
Jim Meyering 5847d9e139 ui/vnc: simplify and avoid strncpy
Don't bother with strncpy.  There's no need for its zero-fill.
Use g_strndup in place of g_malloc+strncpy+NUL-terminate.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-10-05 07:58:37 -05:00
..
cocoa.m
curses_keys.h
curses.c
d3des.c
d3des.h
keymaps.c
keymaps.h
Makefile.objs
qemu-spice.h
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c
spice-core.c
spice-display.c
spice-display.h
spice-input.c
vnc_keysym.h
vnc-auth-sasl.c ui/vnc: simplify and avoid strncpy 2012-10-05 07:58:37 -05:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-tls.c
vnc-tls.h
vnc.c Separate inet_connect into inet_connect (blocking) and inet_nonblocking_connect 2012-09-25 19:05:55 -05:00
vnc.h
x_keymap.c
x_keymap.h