Subversion Repositories HelenOS-historic

Rev

Rev 1288 | Rev 1297 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1288 Rev 1293
Line 306... Line 306...
306
 
306
 
307
    GET_CHECK_PHONE(phone, phoneid, return IPC_CALLRET_FATAL);
307
    GET_CHECK_PHONE(phone, phoneid, return IPC_CALLRET_FATAL);
308
 
308
 
309
    call = ipc_call_alloc(0);
309
    call = ipc_call_alloc(0);
310
    rc = copy_from_uspace(&call->data.args, &data->args, sizeof(call->data.args));
310
    rc = copy_from_uspace(&call->data.args, &data->args, sizeof(call->data.args));
311
    if (rc != 0)
311
    if (rc != 0) {
-
 
312
        ipc_call_free(call);
312
        return (__native) rc;
313
        return (__native) rc;
-
 
314
    }
313
    if (!(res=request_preprocess(call)))
315
    if (!(res=request_preprocess(call)))
314
        ipc_call(phone, call);
316
        ipc_call(phone, call);
315
    else
317
    else
316
        ipc_backsend_err(phone, call, res);
318
        ipc_backsend_err(phone, call, res);
317
 
319