On Mon, May 07, 2018 at 12:06:29PM +0200, Pavel Hrdina wrote:
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/connect.c | 10 +++++-----
src/main.c | 2 +-
src/network.c | 2 +-
src/util.c | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/connect.c b/src/connect.c
index 3d2be96..e96294d 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -39,7 +39,7 @@ virtDBusConnectClose(virtDBusConnect *connect,
gboolean deregisterEvents)
{
- for (gint i = 0; i < VIR_DOMAIN_EVENT_ID_LAST; i += 1) {
+ for (gint i = 0; i < VIR_DOMAIN_EVENT_ID_LAST; i++) {
if (connect->domainCallbackIds[i] >= 0) {
if (deregisterEvents) {
virConnectDomainEventDeregisterAny(connect->connection,
Thank you!
Jano