add: if(target==-1) _set_message_target_(message,target,true); else _set_message_target_(message,target,false);
context: void SendMessage(port_id port, BMessage *message){	if(!message)		return;		ssize_t flatsize=message->FlattenedSize();	char *buffer=new char[flatsize];		if(message->Flatten(buffer,flatsize)==B_OK)		write_port(port, message->what, buffer,flatsize);		delete buffer;	delete message;}