Fixed build of the fake_app_server - there still were some references to

SERVER_TRUE/FALSE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17238 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-04-26 09:56:55 +00:00
parent e55d041b59
commit 3691c680c4
2 changed files with 6 additions and 6 deletions

View File

@ -194,8 +194,8 @@ AppServer::MainLoop(void)
break;
default:
{
STRACE(("Server::MainLoop received unexpected code %ld (offset %ld)\n",
code, code - SERVER_TRUE));
STRACE(("Server::MainLoop received unexpected code %ld\n",
code));
break;
}
}
@ -278,7 +278,7 @@ AppServer::DispatchMessage(int32 code, BPrivate::PortLink &msg)
release_sem(fAppListLock);
BPrivate::PortLink replylink(clientReplyPort);
replylink.StartMessage(SERVER_TRUE);
replylink.StartMessage(B_OK);
replylink.Attach<int32>(serverListen);
replylink.Flush();

View File

@ -276,7 +276,7 @@ ServerApp::DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
STRACE(("ServerApp %s: get current workspace\n", fSignature.String()));
// TODO: Locking this way is not nice
fLink.StartMessage(SERVER_TRUE);
fLink.StartMessage(B_OK);
fLink.Attach<int32>(0);
fLink.Flush();
break;
@ -299,7 +299,7 @@ ServerApp::DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
STRACE(("ServerApp %s: Received IsCursorHidden request\n", fSignature.String()));
// Attached data
// 1) int32 port to reply to
fLink.StartMessage(fCursorHidden ? SERVER_TRUE : SERVER_FALSE);
fLink.StartMessage(fCursorHidden ? B_OK : B_ERROR);
fLink.Flush();
break;
}
@ -310,7 +310,7 @@ ServerApp::DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
if (link.NeedsReply()) {
// the client is now blocking and waiting for a reply!
fLink.StartMessage(SERVER_FALSE);
fLink.StartMessage(B_ERROR);
fLink.Flush();
} else
puts("message doesn't need a reply!");