summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-04 15:16:34 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2015-02-04 20:15:00 +0100
commit7ae9b3c9741116fbf2e6d13e40410836e076a644 (patch)
treee45369375b543f8884fe6f364954b503e662613d /bus
parente6bece44989f90eb55cbeface2845e1ea0ebc26a (diff)
downloaddbus-7ae9b3c9741116fbf2e6d13e40410836e076a644.tar.gz
bus_driver_check_caller_is_privileged: correct the DBUS_WIN case
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88964 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'bus')
-rw-r--r--bus/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/driver.c b/bus/driver.c
index 793dbfb0..30764fec 100644
--- a/bus/driver.c
+++ b/bus/driver.c
@@ -134,7 +134,7 @@ bus_driver_check_caller_is_privileged (DBusConnection *connection,
}
return TRUE;
-#elif DBUS_WIN
+#elif defined(DBUS_WIN)
char *windows_sid = NULL;
dbus_bool_t ret = FALSE;