mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-11 07:10:28 +01:00
2003-04-25 Havoc Pennington <hp@redhat.com>
* dbus/dbus-transport.c (_dbus_transport_get_unix_user): fix bug where we used >= 0 instead of != DBUS_UID_UNSET.
This commit is contained in:
parent
9c010fbc04
commit
4b87aa40df
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2003-04-25 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* dbus/dbus-transport.c (_dbus_transport_get_unix_user): fix bug
|
||||
where we used >= 0 instead of != DBUS_UID_UNSET.
|
||||
|
||||
2003-04-25 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* glib/dbus-gmain.c (remove_watch): fix for a crash when watches
|
||||
|
|
|
|||
|
|
@ -932,7 +932,7 @@ _dbus_transport_get_unix_user (DBusTransport *transport,
|
|||
|
||||
_dbus_auth_get_identity (transport->auth, &auth_identity);
|
||||
|
||||
if (auth_identity.uid >= 0)
|
||||
if (auth_identity.uid != DBUS_UID_UNSET)
|
||||
{
|
||||
*uid = auth_identity.uid;
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue