From: Simon McVittie Date: Wed, 4 Feb 2015 15:16:34 +0000 (+0000) Subject: bus_driver_check_caller_is_privileged: correct the DBUS_WIN case X-Git-Tag: dbus-1.9.10~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ae9b3c9741116fbf2e6d13e40410836e076a644;p=thirdparty%2Fdbus.git 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 --- diff --git a/bus/driver.c b/bus/driver.c index 793dbfb00..30764fec1 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;