Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 858 → Rev 859

/shark/trunk/ports/first/first-server.c
655,10 → 655,10
memmove(&message.contract,new_contract, sizeof(fsf_contract_parameters_t));
message.server = server;
 
//port_send(channel,&message,BLOCK);
//port_receive(channel, &message, BLOCK);
port_send(channel[1],&message,BLOCK);
 
port_receive(channel[0], &message, BLOCK);
 
if (message.server==-1) return FSF_ERR_CONTRACT_REJECTED;
return 0;