]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote_driver: Move URI re-generation into a function
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 3 Feb 2023 13:57:47 +0000 (14:57 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Feb 2023 15:50:45 +0000 (16:50 +0100)
commitc71c159248d2a2d2e766861c41a26c6a1537a5d7
tree08dc210bb2a5fbdc96bc62903637456dec5778ea
parent77b4a67cf67dcf6df949ad9ec5772ded14a37819
remote_driver: Move URI re-generation into a function

There's a piece of code in doRemoteOpen() that is going to be
called twice. Instead of duplicating the code, move it into a
function that will be called twice, later on.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/remote/remote_driver.c