Some server side debug output.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32640 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2009-08-23 20:32:39 +00:00
parent 1a5adfc757
commit d3b6a35a30
+6
View File
@@ -3495,6 +3495,12 @@ ServerWindow::HandleDirectConnection(int32 bufferState, int32 driverState)
status_t status = fDirectWindowData->SyncronizeWithClient();
if (status != B_OK) {
char errorString[256];
snprintf(errorString, sizeof(errorString),
"%s killed for a problem in DirectConnected(): %s",
App()->Signature(), strerror(status));
syslog(LOG_ERR, errorString);
// The client application didn't release the semaphore
// within the given timeout. Or something else went wrong.
// Deleting this member should make it crash.