diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-17 01:20:02 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-01-17 01:20:02 +0000 |
commit | 4c1a2a760b67b4600db3e5b9c2ad0056b5cf32b6 (patch) | |
tree | 391cea651b377e1ff09f5a45ee4e8dbdd25dc1ef /dbus/dbus-auth.c | |
parent | aad6fa897f85486386b030847151cb09943c97c0 (diff) |
2005-01-16 Havoc Pennington <hp@redhat.com>
* dbus/dbus-userdb-util.c: split out part of dbus-userdb.c
* dbus/dbus-sysdeps.c (_dbus_uid_from_string): move here to pave
way for stripping down dbus-userdb.c stuff included in libdbus.
Rename _dbus_parse_uid for consistency.
Diffstat (limited to 'dbus/dbus-auth.c')
-rw-r--r-- | dbus/dbus-auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c index be3cc302..b0793e06 100644 --- a/dbus/dbus-auth.c +++ b/dbus/dbus-auth.c @@ -26,8 +26,8 @@ #include "dbus-internals.h" #include "dbus-keyring.h" #include "dbus-sha.h" -#include "dbus-userdb.h" #include "dbus-protocol.h" +#include "dbus-userdb.h" /** * @defgroup DBusAuth Authentication @@ -1019,8 +1019,8 @@ handle_server_data_external_mech (DBusAuth *auth, } else { - if (!_dbus_uid_from_string (&auth->identity, - &auth->desired_identity.uid)) + if (!_dbus_parse_uid (&auth->identity, + &auth->desired_identity.uid)) { _dbus_verbose ("%s: could not get credentials from uid string\n", DBUS_AUTH_NAME (auth)); |