diff options
| author | Thomas Haller <thaller@redhat.com> | 2014-11-07 13:42:40 +0100 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2014-11-07 13:44:00 +0100 |
| commit | 5bcd54ad82b961cb5b794d86e70ba99244fa1e6d (patch) | |
| tree | fdfe89441202ba63f354153957a636bde0e28b64 | |
| parent | 57133a389f326940e745031e5fef7dccc434247e (diff) | |
| download | NetworkManager-5bcd54ad82b961cb5b794d86e70ba99244fa1e6d.tar.gz | |
vpn: fix cleanup of connection timeout in maybe_complete()
Fixes: a966a5e8b5c0b62975833b12bbb67d7e87f307ce
Signed-off-by: Thomas Haller <thaller@redhat.com>
| -rw-r--r-- | src/vpn-manager/nm-vpn-connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpn-manager/nm-vpn-connection.c b/src/vpn-manager/nm-vpn-connection.c index a348ab7182..46e14ca153 100644 --- a/src/vpn-manager/nm-vpn-connection.c +++ b/src/vpn-manager/nm-vpn-connection.c @@ -959,7 +959,7 @@ nm_vpn_connection_config_maybe_complete (NMVpnConnection *connection, } } - if (priv->connect_timeout == 0) { + if (priv->connect_timeout) { g_source_remove (priv->connect_timeout); priv->connect_timeout = 0; } |
