[Pkg-libvirt-maintainers] Bug#513605: Bug#513605: libvirt0: hardcodes ssh port [patch]
Guido Günther
agx at sigxcpu.org
Fri Jan 30 20:55:40 UTC 2009
On Fri, Jan 30, 2009 at 05:28:25PM +0000, Adrian Bridgett wrote:
> --- src/remote_internal.c.orig 2009-01-30 17:19:20.000000000 +0000
> +++ src/remote_internal.c 2009-01-30 17:22:23.000000000 +0000
> @@ -353,9 +353,6 @@
> } else if (transport == trans_tcp) {
> port = strdup (LIBVIRTD_TCP_PORT);
> if (!port) goto out_of_memory;
> - } else if (transport == trans_ssh) {
> - port = strdup ("22");
> - if (!port) goto out_of_memory;
> } else
Wouldn't this assert since you didn't adjust nr_args? I've sent
a fixed version upstream.
Cheers,
-- Guido
More information about the Pkg-libvirt-maintainers
mailing list