[network-manager-iodine] real_connect: return code is status not fd
- From: Guido GÃnther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-iodine] real_connect: return code is status not fd
- Date: Sun, 26 Feb 2012 17:25:46 +0000 (UTC)
commit e4701889f33ffa4b2593b99f95cf98d44d41d479
Author: Guido GÃnther <agx sigxcpu org>
Date: Sun Feb 26 14:09:49 2012 +0100
real_connect: return code is status not fd
src/nm-iodine-service.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nm-iodine-service.c b/src/nm-iodine-service.c
index 1e3974b..5409c7d 100644
--- a/src/nm-iodine-service.c
+++ b/src/nm-iodine-service.c
@@ -543,7 +543,7 @@ real_connect (NMVPNPlugin *plugin,
GError **error)
{
NMSettingVPN *s_vpn;
- gint iodine_fd = -1;
+ gint ret = -1;
s_vpn = NM_SETTING_VPN (nm_connection_get_setting (connection,
NM_TYPE_SETTING_VPN));
@@ -554,9 +554,9 @@ real_connect (NMVPNPlugin *plugin,
if (!nm_iodine_secrets_validate (s_vpn, error))
goto out;
- iodine_fd = nm_iodine_start_iodine_binary (NM_IODINE_PLUGIN (plugin),
+ ret = nm_iodine_start_iodine_binary (NM_IODINE_PLUGIN (plugin),
s_vpn, error);
- if (!iodine_fd)
+ if (!ret)
return TRUE;
out:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]