From ca3e9dba80720b4056f157e0c33656098ae7a0ec Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 9 Aug 2002 23:34:04 +0000 Subject: [PATCH] Fixed the return value in case of team ID < 0. R5 returns B_ERROR instead of B_BAD_TEAM_ID and so do we now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@677 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/Roster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/app/Roster.cpp b/src/kits/app/Roster.cpp index 4ebfd05f04..009d0a0921 100644 --- a/src/kits/app/Roster.cpp +++ b/src/kits/app/Roster.cpp @@ -317,7 +317,7 @@ BRoster::GetRunningAppInfo(team_id team, app_info *info) const { status_t error = (info ? B_OK : B_BAD_VALUE); if (error == B_OK && team < 0) - error = B_BAD_TEAM_ID; + error = B_ERROR; // compose the request message BMessage request(B_REG_GET_APP_INFO); if (error == B_OK)