Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/module.c

    ra64c64d raadf01e  
    104104        ipc_answer_0(iid, EOK);
    105105
    106         // process additional messages
    107106        while(true){
    108 
    109                 // clear the answer structure
    110107                refresh_answer(&answer, &answer_count);
    111108
    112                 // fetch the next message
    113109                callid = async_get_call(&call);
    114 
    115                 // process the message
    116110                res = module_message(callid, &call, &answer, &answer_count);
    117111
    118                 // end if said to either by the message or the processing result
    119112                if((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) || (res == EHANGUP)){
    120113                        return;
    121114                }
    122115
    123                 // answer the message
    124116                answer_call(callid, res, &answer, answer_count);
    125117        }
     
    129121        ERROR_DECLARE;
    130122
    131         // print the module label
    132123        printf("Task %d - ", task_get_id());
    133124        module_print_name();
    134125        printf("\n");
    135 
    136         // start the module
    137126        if(ERROR_OCCURRED(module_start(client_connection))){
    138127                printf(" - ERROR %i\n", ERROR_CODE);
    139128                return ERROR_CODE;
    140129        }
    141 
    142130        return EOK;
    143131}
Note: See TracChangeset for help on using the changeset viewer.