[libvirt] [PATCH] remote: fix odd comma operator

Eric Blake eblake at redhat.com
Fri Jun 5 03:52:11 UTC 2015


Commit 1882c0bd accidentally used ',' instead of ';'; oddly
enough, the result was still syntactically valid (yes, C is
a fun language).  But it made me do a double take; it's better
to use idiomatic syntax.

* daemon/remote.c (remoteRelayDomainEventDeviceAdded): Fix
harmless typo.

Signed-off-by: Eric Blake <eblake at redhat.com>
---

Pushing under the trivial rule.

 daemon/remote.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/remote.c b/daemon/remote.c
index e259a76..e9e2dca 100644
--- a/daemon/remote.c
+++ b/daemon/remote.c
@@ -1068,7 +1068,7 @@ remoteRelayDomainEventDeviceAdded(virConnectPtr conn,
         return -1;

     make_nonnull_domain(&data.dom, dom);
-    data.callbackID = callback->callbackID,
+    data.callbackID = callback->callbackID;

     remoteDispatchObjectEventSend(callback->client, remoteProgram,
                                   REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_ADDED,
-- 
2.4.2




More information about the libvir-list mailing list