* 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>
+ * 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
were toggled without add/remove, fix from Anders Gustafsson
_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;