]> xenbits.xensource.com Git - libvirt.git/commitdiff
remote: fix odd comma operator
authorEric Blake <eblake@redhat.com>
Fri, 5 Jun 2015 03:44:48 +0000 (21:44 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 5 Jun 2015 03:44:48 +0000 (21:44 -0600)
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@redhat.com>
daemon/remote.c

index e259a763b55d51ba95bcbfce5b0abb178abc7f14..e9e2dcae80e0d78bf206ca3a3fa18690761622c8 100644 (file)
@@ -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,