Re: [Qemu-devel] [PATCH 1/3] vnc: drop display+ws_display from VncDisplay

2015-03-10 Thread Gonglei
On 2015/3/10 19:18, Gerd Hoffmann wrote: > Nobody cares about those strings, they are only used to check whenever > the vnc server / websocket support is enabled or not. Add bools for > this and drop the strings. > > Signed-off-by: Gerd Hoffmann > --- > ui/vnc-auth-sasl.c | 2 +- > ui/vnc.c

[Qemu-devel] [PATCH 1/3] vnc: drop display+ws_display from VncDisplay

2015-03-10 Thread Gerd Hoffmann
Nobody cares about those strings, they are only used to check whenever the vnc server / websocket support is enabled or not. Add bools for this and drop the strings. Signed-off-by: Gerd Hoffmann --- ui/vnc-auth-sasl.c | 2 +- ui/vnc.c | 54 +++-