[network-manager-openswan/danw/cleanup-bgo746693] all: fix indenting



commit 03ed45f3560bc38a376290d3815d33b71c939aa5
Author: Jiří Klimeš <jklimes redhat com>
Date:   Wed Mar 25 12:56:44 2015 +0100

    all: fix indenting

 properties/nm-openswan.c         |   24 ++++++++++++------------
 src/nm-openswan-service-helper.c |   26 +++++++++++++-------------
 src/show-xfrm.c                  |    2 +-
 3 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/properties/nm-openswan.c b/properties/nm-openswan.c
index e2c3ccd..caa512e 100644
--- a/properties/nm-openswan.c
+++ b/properties/nm-openswan.c
@@ -51,7 +51,7 @@
 #define ENC_TYPE_NONE   2
 
 #define PW_TYPE_SAVE   0
-#define PW_TYPE_ASK       1
+#define PW_TYPE_ASK    1
 #define PW_TYPE_UNUSED 2
 
 /************** plugin class **************/
@@ -59,16 +59,16 @@
 static void openswan_plugin_ui_interface_init (NMVpnPluginUiInterface *iface_class);
 
 G_DEFINE_TYPE_EXTENDED (OpenswanPluginUi, openswan_plugin_ui, G_TYPE_OBJECT, 0,
-                                               G_IMPLEMENT_INTERFACE (NM_TYPE_VPN_PLUGIN_UI_INTERFACE,
-                                                                                          
openswan_plugin_ui_interface_init))
+                        G_IMPLEMENT_INTERFACE (NM_TYPE_VPN_PLUGIN_UI_INTERFACE,
+                                               openswan_plugin_ui_interface_init))
 
 /************** UI widget class **************/
 
 static void openswan_plugin_ui_widget_interface_init (NMVpnPluginUiWidgetInterface *iface_class);
 
 G_DEFINE_TYPE_EXTENDED (OpenswanPluginUiWidget, openswan_plugin_ui_widget, G_TYPE_OBJECT, 0,
-                                               G_IMPLEMENT_INTERFACE (NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE,
-                                                                                          
openswan_plugin_ui_widget_interface_init))
+                        G_IMPLEMENT_INTERFACE (NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE,
+                                               openswan_plugin_ui_widget_interface_init))
 
 #define OPENSWAN_PLUGIN_UI_WIDGET_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), 
OPENSWAN_TYPE_PLUGIN_UI_WIDGET, OpenswanPluginUiWidgetPrivate))
 
@@ -682,7 +682,7 @@ ui_factory (NMVpnPluginUiInterface *iface, NMConnection *connection, GError **er
 
 static void
 get_property (GObject *object, guint prop_id,
-                         GValue *value, GParamSpec *pspec)
+              GValue *value, GParamSpec *pspec)
 {
        switch (prop_id) {
        case NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME:
@@ -708,16 +708,16 @@ openswan_plugin_ui_class_init (OpenswanPluginUiClass *req_class)
        object_class->get_property = get_property;
 
        g_object_class_override_property (object_class,
-                                                                         
NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME,
-                                                                         NM_VPN_PLUGIN_UI_INTERFACE_NAME);
+                                         NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME,
+                                         NM_VPN_PLUGIN_UI_INTERFACE_NAME);
 
        g_object_class_override_property (object_class,
-                                                                         
NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC,
-                                                                         NM_VPN_PLUGIN_UI_INTERFACE_DESC);
+                                         NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC,
+                                         NM_VPN_PLUGIN_UI_INTERFACE_DESC);
 
        g_object_class_override_property (object_class,
-                                                                         
NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE,
-                                                                         NM_VPN_PLUGIN_UI_INTERFACE_SERVICE);
+                                         NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE,
+                                         NM_VPN_PLUGIN_UI_INTERFACE_SERVICE);
 }
 
 static void
diff --git a/src/nm-openswan-service-helper.c b/src/nm-openswan-service-helper.c
index 84e4f8e..ac4dfd7 100644
--- a/src/nm-openswan-service-helper.c
+++ b/src/nm-openswan-service-helper.c
@@ -58,14 +58,14 @@ helper_failed (DBusGConnection *connection, const char *reason)
        g_warning ("This helper did not receive a valid %s from the IPSec daemon", reason);
 
        proxy = dbus_g_proxy_new_for_name (connection,
-                                                               NM_DBUS_SERVICE_OPENSWAN,
-                                                               NM_VPN_DBUS_PLUGIN_PATH,
-                                                               NM_VPN_DBUS_PLUGIN_INTERFACE);
+                                          NM_DBUS_SERVICE_OPENSWAN,
+                                          NM_VPN_DBUS_PLUGIN_PATH,
+                                          NM_VPN_DBUS_PLUGIN_INTERFACE);
 
        dbus_g_proxy_call (proxy, "SetFailure", &err,
-                                   G_TYPE_STRING, reason,
-                                   G_TYPE_INVALID,
-                                   G_TYPE_INVALID);
+                          G_TYPE_STRING, reason,
+                          G_TYPE_INVALID,
+                          G_TYPE_INVALID);
 
        if (err) {
                g_warning ("Could not send failure information: %s", err->message);
@@ -84,15 +84,15 @@ send_ip4_config (DBusGConnection *connection, GHashTable *config)
        GError *err = NULL;
 
        proxy = dbus_g_proxy_new_for_name (connection,
-                                                               NM_DBUS_SERVICE_OPENSWAN,
-                                                               NM_VPN_DBUS_PLUGIN_PATH,
-                                                               NM_VPN_DBUS_PLUGIN_INTERFACE);
+                                          NM_DBUS_SERVICE_OPENSWAN,
+                                          NM_VPN_DBUS_PLUGIN_PATH,
+                                          NM_VPN_DBUS_PLUGIN_INTERFACE);
 
        dbus_g_proxy_call (proxy, "SetIp4Config", &err,
-                                   dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE),
-                                   config,
-                                   G_TYPE_INVALID,
-                                   G_TYPE_INVALID);
+                          dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE),
+                          config,
+                          G_TYPE_INVALID,
+                          G_TYPE_INVALID);
 
        if (err) {
                g_warning ("Could not send IPv4 configuration: %s", err->message);
diff --git a/src/show-xfrm.c b/src/show-xfrm.c
index 8c6a5a6..b305621 100644
--- a/src/show-xfrm.c
+++ b/src/show-xfrm.c
@@ -34,7 +34,7 @@ verify_source (struct nl_msg *msg, gpointer user_data)
        if (!creds || creds->pid || creds->uid || creds->gid) {
                if (creds)
                        g_warning ("netlink: received non-kernel message (pid %d uid %d gid %d)",
-                                       creds->pid, creds->uid, creds->gid);
+                                  creds->pid, creds->uid, creds->gid);
                else
                        g_warning ("netlink: received message without credentials");
                return NL_STOP;


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