[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, experimental, updated. debian/1%1.21.40-1

Richard W.M. Jones rjones at redhat.com
Sat Jun 1 11:04:27 UTC 2013


The following commit has been merged in the experimental branch:
commit ad1e9e7eace04ce92730691be7d0dbd56bb2af9d
Author: Mike Kelly <pioto at pioto.org>
Date:   Tue Apr 30 13:49:10 2013 -0400

    ssh: fix setting the username part
    
    Right now, we'd always be setting a NULL username.

diff --git a/src/drives.c b/src/drives.c
index a13dd03..0e62ca8 100644
--- a/src/drives.c
+++ b/src/drives.c
@@ -1105,7 +1105,7 @@ guestfs___drive_source_qemu_param (guestfs_h *g, const struct drive_source *src)
     CLEANUP_FREE char *username = NULL, *port = NULL;
 
     if (src->username)
-      username = safe_asprintf (g, "%s@", username);
+      username = safe_asprintf (g, "%s@", src->username);
     if (src->servers[0].port != 0)
       port = safe_asprintf (g, ":%d", src->servers[0].port);
 

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list