[network-manager-libreswan/th/vpn-editor-split-bgo766623] properties: fix wrong return value "FALSE" instead of "NULL"



commit 39b4ba7bbc518c8428810823a7ca95378ca73177
Author: Thomas Haller <thaller redhat com>
Date:   Sun May 22 11:48:16 2016 +0200

    properties: fix wrong return value "FALSE" instead of "NULL"

 properties/nm-libreswan-editor-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/nm-libreswan-editor-plugin.c b/properties/nm-libreswan-editor-plugin.c
index 3c8922f..ff8cabe 100644
--- a/properties/nm-libreswan-editor-plugin.c
+++ b/properties/nm-libreswan-editor-plugin.c
@@ -72,7 +72,7 @@ import_from_file (NMVpnEditorPlugin *self,
        if (fd == -1) {
                g_set_error (error, NMV_EDITOR_PLUGIN_ERROR, 0,
                             _("Can't open file '%s': %s"), path, g_strerror (errno));
-               return FALSE;
+               return NULL;
        }
 
        connection = nm_libreswan_config_read (fd);


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