mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-04 03:38:00 +02:00
Bug 15588: Fix typo in #ifdef for userdb cache (Scott James Remnant)
* dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Correct name of macro used in #ifdef block to match that defined by configure, otherwise the userdb cache will never be enabled.
This commit is contained in:
parent
e2bc723206
commit
80306140b9
2 changed files with 2 additions and 2 deletions
|
|
@ -223,7 +223,7 @@ _dbus_user_database_lookup_group (DBusUserDatabase *db,
|
|||
gid = n;
|
||||
}
|
||||
|
||||
#ifdef DBUS_ENABLE_USER_CACHE
|
||||
#ifdef DBUS_ENABLE_USERDB_CACHE
|
||||
if (gid != DBUS_GID_UNSET)
|
||||
info = _dbus_hash_table_lookup_ulong (db->groups, gid);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ _dbus_user_database_lookup (DBusUserDatabase *db,
|
|||
uid = n;
|
||||
}
|
||||
|
||||
#ifdef DBUS_ENABLE_USER_CACHE
|
||||
#ifdef DBUS_ENABLE_USERDB_CACHE
|
||||
if (uid != DBUS_UID_UNSET)
|
||||
info = _dbus_hash_table_lookup_ulong (db->users, uid);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue