summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-auth-script.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-06-14 20:08:48 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-06-14 20:08:48 +0000
commit323790705782bee0d54ea9a342718a49b4ee5be6 (patch)
tree57f31fda6922efe707f1a0bc25ca0a26ec1ef024 /dbus/dbus-auth-script.c
parentab4ce38906a6ac696d2c673025ec1a2d1e302b6f (diff)
* 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.
Diffstat (limited to 'dbus/dbus-auth-script.c')
-rw-r--r--dbus/dbus-auth-script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-auth-script.c b/dbus/dbus-auth-script.c
index 225569fc..eb145e49 100644
--- a/dbus/dbus-auth-script.c
+++ b/dbus/dbus-auth-script.c
@@ -522,7 +522,7 @@ _dbus_auth_script_run (const DBusString *filename)
goto out;
}
- if (!_dbus_append_desired_identity (&u) ||
+ if (!_dbus_username_from_current_process (&u) ||
!_dbus_string_copy (u, 0, &username,
_dbus_string_get_length (&username)))
{