summaryrefslogtreecommitdiff
path: root/src/dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus.c')
-rwxr-xr-x[-rw-r--r--]src/dbus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus.c b/src/dbus.c
index 260cec69..71728300 100644..100755
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -528,6 +528,9 @@ int connman_dbus_get_connection_unix_user_sync(DBusConnection *connection,
const char *bus_name,
unsigned int *user_id)
{
+#if defined TIZEN_EXT
+ *user_id = 0;
+#else
unsigned long uid;
DBusError err;
@@ -545,6 +548,7 @@ int connman_dbus_get_connection_unix_user_sync(DBusConnection *connection,
}
*user_id = (unsigned int)uid;
+#endif
return 0;
}