[network-manager-libreswan] service: fix using wrong enum type for NMVpnPluginFailure reason



commit 4054d94e4b1eaafaf79c833878bf78e57e8ae59f
Author: Thomas Haller <thaller redhat com>
Date:   Mon May 9 22:05:02 2016 +0200

    service: fix using wrong enum type for NMVpnPluginFailure reason

 src/nm-libreswan-service.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nm-libreswan-service.c b/src/nm-libreswan-service.c
index 156db7f..cd507e1 100644
--- a/src/nm-libreswan-service.c
+++ b/src/nm-libreswan-service.c
@@ -453,7 +453,7 @@ delete_secrets_file (NMLibreswanPlugin *self)
 static void
 connect_failed (NMLibreswanPlugin *self,
                 GError *error,
-                NMVpnConnectionStateReason reason)
+                NMVpnPluginFailure reason)
 {
        if (error) {
                g_warning ("Connect failed: (%s/%d) %s",
@@ -1390,7 +1390,7 @@ io_cb (GIOChannel *source, GIOCondition condition, gpointer user_data)
        GIOStatus status;
        gsize bytes_read = 0;
        gboolean success = FALSE;
-       NMVpnConnectionStateReason reason = NM_VPN_PLUGIN_FAILURE_CONNECT_FAILED;
+       NMVpnPluginFailure reason = NM_VPN_PLUGIN_FAILURE_CONNECT_FAILED;
        const char *found;
 
        if (condition & G_IO_HUP) {


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