mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 13:38:56 +01:00
at once with Tracker (eg. launching several text documents) - only the first one would have been opened, and an error B_BAD_VALUE would have been reported for the others: * HandleAddApplication() did not return the correct token in case of a pending registration; therefore, BRoster::_LaunchApp() would try to check the registration with invalid arguments. * HandleIsAppRegistered() put the pending registration requests into the fIARRequestsByToken map using the wrong key, so that they could not be found again. * Minor cleanup (fixed indentation of not so temporary debug code). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22296 a95241bf-73f2-0310-859d-f6bbb57e9c96