[network-manager-libreswan] service: fix connect cleanup typo



commit 1c00a9e698b2fa7ac4cba94b11222cfbfdc5b1e9
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Wed Jan 6 17:52:22 2016 +0100

    service: fix connect cleanup typo
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1285367

 src/nm-libreswan-service.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nm-libreswan-service.c b/src/nm-libreswan-service.c
index ad752f8..335dd7b 100644
--- a/src/nm-libreswan-service.c
+++ b/src/nm-libreswan-service.c
@@ -392,9 +392,9 @@ connect_cleanup (NMLibreswanPlugin *self)
                priv->pid = 0;
        }
 
-       if (priv->watch_id) {
-               g_source_remove (priv->watch_id);
-               priv->watch_id = 0;
+       if (priv->retry_id) {
+               g_source_remove (priv->retry_id);
+               priv->retry_id = 0;
        }
 
        if (priv->io_id) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]