From 323790705782bee0d54ea9a342718a49b4ee5be6 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 14 Jun 2007 20:08:48 +0000 Subject: * reverted global rename of function _dbus_username_from_current_process. It needs to much tests to verify that the change does not break anything. I had overseen that the signatures are different (** to *) which requires non trivial changes. This is one *major* disadvantage of elumating oop functionality with c. You are responsible for cleaning every object on every function return point, which could be a nightmare if you are not working with dbus all the days. --- dbus/dbus-userdb-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbus/dbus-userdb-util.c') diff --git a/dbus/dbus-userdb-util.c b/dbus/dbus-userdb-util.c index 5f0ec56d..6e1653e6 100644 --- a/dbus/dbus-userdb-util.c +++ b/dbus/dbus-userdb-util.c @@ -414,7 +414,7 @@ _dbus_userdb_test (const char *test_data_dir) unsigned long *group_ids; int n_group_ids, i; - if (!_dbus_append_desired_identity (&username)) + if (!_dbus_username_from_current_process (&username)) _dbus_assert_not_reached ("didn't get username"); if (!_dbus_homedir_from_current_process (&homedir)) -- cgit