]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
fix an endless loop in node device XML dump
authorDaniel Veillard <veillard@redhat.com>
Wed, 1 Jul 2009 21:30:41 +0000 (21:30 +0000)
committerDaniel Veillard <veillard@redhat.com>
Wed, 1 Jul 2009 21:30:41 +0000 (21:30 +0000)
* src/node_device.c: fix an endless loop in node device XML dump,
  patch by Cole Robinson
Daniel

ChangeLog
src/node_device.c

index 4f26fbcac36d64ec5434c03024e6517801841600..129a2ccc7a6b27132fccd1d852e8aa1db5c3d157 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul  1 23:29:33 CEST 2009 Daniel Veillard <veillard@redhat.com>
+
+       * src/node_device.c: fix an endless loop in node device XML dump,
+         patch by Cole Robinson
+
 Wed Jul  1 23:23:19 CEST 2009 Daniel Veillard <veillard@redhat.com>
 
        * docs/drvone.html docs/drvone.html.in: small OpenNebula driver
index cd9f0ef5847a4553f9e49aa51e8c7a8ea1953595..e0aaefcbb4dbbe156625f2a0cb316a043d7c9283 100644 (file)
@@ -73,8 +73,8 @@ static int update_caps(virNodeDeviceObjPtr dev)
                               cap->data.scsi_host.host);
                 }
             }
-            cap = cap->next;
         }
+        cap = cap->next;
     }
 
     return 0;