aboutsummaryrefslogtreecommitdiffstats
path: root/modules/windows-sens
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-04 00:08:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-04 01:29:20 +0800
commit9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1 (patch)
treeaa1d53c8cedef6dc09455fbadd4b63216f9b7228 /modules/windows-sens
parentc9c3c3be92f3dbf133a5b1b42fb55905a1060d0e (diff)
downloadgsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.gz
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.bz2
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.lz
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.xz
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.zst
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'modules/windows-sens')
-rw-r--r--modules/windows-sens/evolution-windows-sens.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/windows-sens/evolution-windows-sens.c b/modules/windows-sens/evolution-windows-sens.c
index 536ff06ff4..e0f70de4e5 100644
--- a/modules/windows-sens/evolution-windows-sens.c
+++ b/modules/windows-sens/evolution-windows-sens.c
@@ -551,9 +551,9 @@ windows_sens_constructed (GObject *object)
IsNetworkAlive_t pIsNetworkAlive = NULL;
- char *buf = NULL;
- char dummy;
- int n, k;
+ gchar *buf = NULL;
+ gchar dummy;
+ gint n, k;
HMODULE hDLL = NULL;
n = GetSystemDirectory (&dummy, 0);
@@ -563,7 +563,7 @@ windows_sens_constructed (GObject *object)
buf = g_malloc (n + 1 + strlen (SENSAPI_DLL));
k = GetSystemDirectory (buf, n);
-
+
if (k == 0 || k > n)
goto cleanup;