CORBA_boolean
forb_iop_prepare_request(forb_request_t *req,
- unsigned *index,
CORBA_Environment *env)
{
CORBA_boolean ret;
forb_server_id_to_string(str, &req->obj->server, sizeof(str)),
rh.iface, rh.method_index);
}
- *index = req->cdr_request.wptr;
+ req->end_of_header_index = req->cdr_request.wptr;
return ret;
}
* @param env Environment for returning exceptions
*/
void
-forb_request_send(forb_request_t *req, unsigned index, CORBA_Environment *env)
+forb_request_send(forb_request_t *req, CORBA_Environment *env)
{
CORBA_boolean ret;
forb_peer_t *peer;
exec_req->obj = forb_object_duplicate(req->obj);
exec_req->method_index = req->method_ind;
exec_req->interface = req->interface;
- req->cdr_request.rptr = index;
+ req->cdr_request.rptr = req->end_of_header_index;
exec_req->codec = req->cdr_request;
req->cdr_request.release_buffer = CORBA_FALSE;
exec_req->request_id = req->request_id;