diff options
author | Vladimir Sementsov-Ogievskiy <vladimir.sementsov-ogievskiy@openvz.org> | 2022-04-01 17:39:34 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-04-27 07:51:01 +0200 |
commit | d708f99d8508ca6de2ff07cf9723334e6c8ecacd (patch) | |
tree | 5a43e540a67dc581f83d71096c9e3b9b6d73bb7b /docs | |
parent | 9a0a119a382867dc9a5c2ae9348003bf79d84af2 (diff) |
ui/vnc: refactor arrays of addresses to SocketAddressList
Let's use SocketAddressList instead of dynamic arrays.
Benefits:
- Automatic cleanup: don't need specific freeing function and drop
some gotos.
- Less indirection: no triple asterix anymore!
- Prepare for the following commit, which will reuse new interface of
vnc_display_listen().
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220401143936.356460-2-vsementsov@openvz.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions