vnc: switch to inet_listen_opts
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Feb 2015 10:31:44 +0000 (11:31 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 12 Mar 2015 07:22:07 +0000 (08:22 +0100)
commite556032960eaa403da6069aa9abf4dcaddefd710
tree0837466422b84f1bd6c6af684c391dd8079d9c8a
parentfc5c3ff75135fcc02ca3453568d212241d2bc40f
vnc: switch to inet_listen_opts

Use inet_listen_opts instead of inet_listen.  Allows us to drop some
pointless indirection:  Format strings just to parse them again later on.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
ui/vnc.c