]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Mon Mar 05 16:39:54 IST 2007 Mark McLoughlin <markmc@redhat.com>
authorMark McLoughlin <markmc@redhat.com>
Mon, 5 Mar 2007 16:40:34 +0000 (16:40 +0000)
committerMark McLoughlin <markmc@redhat.com>
Mon, 5 Mar 2007 16:40:34 +0000 (16:40 +0000)
        * qemud/qemud.c: don't try and listen to a null socket
        path when run as a session daemon. Noticed by Rich Jones

ChangeLog
qemud/qemud.c

index b06dbb336df0577e7a519c608783b3b04ac8bc9a..49a316ff1619624122191f71fa4a3d3f6a5fd443 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,13 @@
-Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com:
+Mon Mar 05 16:39:54 IST 2007 Mark McLoughlin <markmc@redhat.com>
+
+       * qemud/qemud.c: don't try and listen to a null socket
+       path when run as a session daemon. Noticed by Rich Jones
+       
+Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
 
        * qemud/driver.c: fix a couple of invalid free() calls
        
-Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com:
+Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
 
        * libvirt.spec.in: BuildRequires: /sbin/iptables and
        run configure with the --with-init-script and
@@ -11,7 +16,7 @@ Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com:
        * configure.in: it's --with-qemud-pid-file, not
        --with-pid-file
        
-Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com:
+Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
 
        * libvirt.spec.in: sync some of the chanes from dist-cvs
        so that this looks pretty much as it should do for the
index 77c104129f82ccbeab3d88b26bba543296ee28df..ed678a258dc5ddb013fdd6c59b98560d4ae1635f 100644 (file)
@@ -476,7 +476,7 @@ static struct qemud_server *qemudInitialize(int sys, int sigread) {
     if (qemudListenUnix(server, sockname, 0) < 0)
         goto cleanup;
 
-    if (roSockname[0] == '\0' && qemudListenUnix(server, roSockname, 1) < 0)
+    if (roSockname[0] != '\0' && qemudListenUnix(server, roSockname, 1) < 0)
         goto cleanup;
 
     if (qemudScanConfigs(server) < 0) {