Changes in uspace/srv/net/module.c [a64c64d:aadf01e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/module.c
ra64c64d raadf01e 104 104 ipc_answer_0(iid, EOK); 105 105 106 // process additional messages107 106 while(true){ 108 109 // clear the answer structure110 107 refresh_answer(&answer, &answer_count); 111 108 112 // fetch the next message113 109 callid = async_get_call(&call); 114 115 // process the message116 110 res = module_message(callid, &call, &answer, &answer_count); 117 111 118 // end if said to either by the message or the processing result119 112 if((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) || (res == EHANGUP)){ 120 113 return; 121 114 } 122 115 123 // answer the message124 116 answer_call(callid, res, &answer, answer_count); 125 117 } … … 129 121 ERROR_DECLARE; 130 122 131 // print the module label132 123 printf("Task %d - ", task_get_id()); 133 124 module_print_name(); 134 125 printf("\n"); 135 136 // start the module137 126 if(ERROR_OCCURRED(module_start(client_connection))){ 138 127 printf(" - ERROR %i\n", ERROR_CODE); 139 128 return ERROR_CODE; 140 129 } 141 142 130 return EOK; 143 131 }
Note:
See TracChangeset
for help on using the changeset viewer.