Changeset c638c07 in mainline for uspace/srv/ns/service.c


Ignore:
Timestamp:
2009-10-28T18:59:11Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14ecd6c
Parents:
af6cad4
Message:

Do not attempt to answer forwarded calls in ns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/service.c

    raf6cad4 rc638c07  
    156156               
    157157                hashed_service_t *hs = hash_table_get_instance(link, hashed_service_t, link);
    158                 ipcarg_t retval = ipc_forward_fast(pr->callid, hs->phone,
    159                     pr->arg2, pr->arg3, 0, IPC_FF_NONE);
    160                
    161                 if (!(pr->callid & IPC_CALLID_NOTIFICATION))
    162                         ipc_answer_0(pr->callid, retval);
     158                (void) ipc_forward_fast(pr->callid, hs->phone, pr->arg2,
     159                    pr->arg3, 0, IPC_FF_NONE);
    163160               
    164161                list_remove(cur);
     
    242239       
    243240        hashed_service_t *hs = hash_table_get_instance(link, hashed_service_t, link);
    244         retval = ipc_forward_fast(callid, hs->phone, IPC_GET_ARG2(*call),
     241        (void) ipc_forward_fast(callid, hs->phone, IPC_GET_ARG2(*call),
    245242            IPC_GET_ARG3(*call), 0, IPC_FF_NONE);
     243        return;
    246244       
    247245out:
Note: See TracChangeset for help on using the changeset viewer.