diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-04 00:08:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-04 01:29:20 +0800 |
commit | 9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1 (patch) | |
tree | aa1d53c8cedef6dc09455fbadd4b63216f9b7228 /modules/windows-sens/evolution-windows-sens.c | |
parent | c9c3c3be92f3dbf133a5b1b42fb55905a1060d0e (diff) | |
download | gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.gz gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.zst gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'modules/windows-sens/evolution-windows-sens.c')
-rw-r--r-- | modules/windows-sens/evolution-windows-sens.c | 8 |
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; |