diff options
author | Colin Walters <walters@verbum.org> | 2008-05-30 11:14:46 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2008-05-30 11:14:46 -0400 |
commit | 80306140b9c91bce319f50a55694f205a9a4392f (patch) | |
tree | dbaff72b7b6b3b9354b14fde7ff1aed406c7b275 | |
parent | e2bc7232069b14b7299cb8b2eab436f60a232007 (diff) |
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.
-rw-r--r-- | dbus/dbus-userdb-util.c | 2 | ||||
-rw-r--r-- | dbus/dbus-userdb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-userdb-util.c b/dbus/dbus-userdb-util.c index 30d50832..d03a7c78 100644 --- a/dbus/dbus-userdb-util.c +++ b/dbus/dbus-userdb-util.c @@ -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 diff --git a/dbus/dbus-userdb.c b/dbus/dbus-userdb.c index 0e430b2b..03d263f4 100644 --- a/dbus/dbus-userdb.c +++ b/dbus/dbus-userdb.c @@ -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 |