summaryrefslogtreecommitdiff
path: root/dbus/dbus-auth.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2007-06-14 21:15:33 +0000
committerHavoc Pennington <hp@redhat.com>2007-06-14 21:15:33 +0000
commite7c0d217795f4e8eb618f82b9b3e52807436c8f1 (patch)
tree57a9db1b12b67e6e160c845a4575dc7bace9c286 /dbus/dbus-auth.c
parent48c6f1472dc315c9572cb1aebf8c7b68a66f5bef (diff)
downloaddbus-e7c0d217795f4e8eb618f82b9b3e52807436c8f1.tar.gz
2007-06-14 Havoc Pennington <hp@redhat.com>
* dbus/dbus-sysdeps-unix.c (_dbus_credentials_parse_and_add_user): delete this function since it was effectively the same as _dbus_credentials_add_from_username()
Diffstat (limited to 'dbus/dbus-auth.c')
-rw-r--r--dbus/dbus-auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index 5164f17a..b23b1479 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -534,7 +534,7 @@ sha1_handle_first_client_response (DBusAuth *auth,
}
}
- if (!_dbus_credentials_add_from_username (auth->desired_identity, data))
+ if (!_dbus_credentials_add_from_user (auth->desired_identity, data))
{
_dbus_verbose ("%s: Did not get a valid username from client\n",
DBUS_AUTH_NAME (auth));
@@ -1062,8 +1062,8 @@ handle_server_data_external_mech (DBusAuth *auth,
}
else
{
- if (!_dbus_credentials_parse_and_add_user(auth->desired_identity,
- &auth->identity))
+ if (!_dbus_credentials_add_from_user (auth->desired_identity,
+ &auth->identity))
{
_dbus_verbose ("%s: could not get credentials from uid string\n",
DBUS_AUTH_NAME (auth));