[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:33 UTC 2013
The following commit has been merged in the experimental branch:
commit afc870dd76dc409e734b3bd7f7da3d558d79dea1
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed May 8 11:37:13 2013 +0100
src/drives.c: 'auth' string is const.
This fixes commit f3e01b69e04a0e8321e9d54ca39a4d7ea762f80d.
diff --git a/src/drives.c b/src/drives.c
index 1429050..cde6a32 100644
--- a/src/drives.c
+++ b/src/drives.c
@@ -1127,7 +1127,7 @@ guestfs___drive_source_qemu_param (guestfs_h *g, const struct drive_source *src)
case drive_protocol_rbd: {
/* build the list of all the mon hosts */
CLEANUP_FREE char *mon_host = NULL, *username = NULL, *secret = NULL;
- char *auth;
+ const char *auth;
size_t n = 0;
for (int i = 0; i < src->nr_servers; i++) {
n += strlen (src->servers[i].u.hostname);
--
Libguestfs Debian packaging
More information about the Pkg-libvirt-commits
mailing list