I don't know anymore what I did with these files, but they seem to have changed

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1448 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2002-10-08 00:26:45 +00:00
parent a03cb82272
commit d54e84e0e2
2 changed files with 8 additions and 7 deletions

View File

@ -5,6 +5,7 @@
#include <OS.h>
#include <Messenger.h>
#include <string.h>
#include "debug.h"
#include "PortPool.h"
#include "DataExchange.h"
@ -40,11 +41,11 @@ public:
initit _initit;
void
status_t
request_data::SendReply(status_t result, reply_data *reply, int replysize) const
{
reply->result = result;
SendToPort(reply_port, 0, reply, replysize);
return SendToPort(reply_port, 0, reply, replysize);
}
@ -100,7 +101,7 @@ status_t SendToPort(port_id sendport, int32 msgcode, void *msg, int size)
status_t rv;
rv = write_port(sendport, msgcode, msg, size);
if (rv != B_OK)
TRACE("SendToPort: write_port failed\n");
TRACE("SendToPort: write_port failed, port %#lx, error %#lx (%s)\n", sendport, rv, strerror(rv));
return B_OK;
}
@ -114,7 +115,7 @@ status_t QueryPort(port_id requestport, int32 msgcode, request_data *request, in
rv = write_port(requestport, msgcode, request, requestsize);
if (rv != B_OK) {
TRACE("QueryPort: write_port failed\n");
TRACE("QueryPort: write_port failed, port %#lx, error %#lx (%s)\n", requestport, rv, strerror(rv));
_PortPool->PutPort(request->reply_port);
return rv;
}
@ -123,7 +124,7 @@ status_t QueryPort(port_id requestport, int32 msgcode, request_data *request, in
_PortPool->PutPort(request->reply_port);
if (rv < B_OK)
TRACE("QueryPort: read_port failed\n");
TRACE("QueryPort: read_port failed, port %#lx, error %#lx (%s)\n", request->reply_port, rv, strerror(rv));
return (rv < B_OK) ? rv : reply->result;
}

View File

@ -543,7 +543,7 @@ BMediaNode::operator new(size_t size,
const nothrow_t &) throw()
{
CALLED();
return ::operator new(size,nothrow);
return ::operator new(size, nothrow);
}
void
@ -558,7 +558,7 @@ BMediaNode::operator delete(void * ptr,
const nothrow_t &) throw()
{
CALLED();
::operator delete(ptr,nothrow);
::operator delete(ptr, nothrow);
}
/*************************************************************