[NetworkManager-libreswan/nm-1-0: 47/51] service: fix connect cleanup typo



commit 98ad323105c89ac0d847996653463c250aa9f12a
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
    (cherry picked from commit 1c00a9e698b2fa7ac4cba94b11222cfbfdc5b1e9)

 src/nm-openswan-service.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nm-openswan-service.c b/src/nm-openswan-service.c
index eb82cf8..c5059e4 100644
--- a/src/nm-openswan-service.c
+++ b/src/nm-openswan-service.c
@@ -372,9 +372,9 @@ connect_cleanup (NMOpenSwanPlugin *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]