Changeset df8110d3 in mainline for uspace/srv/net/tl/icmp/icmp.c
- Timestamp:
 - 2011-06-17T16:43:51Z (14 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - d900699
 - Parents:
 - c1198c2 (diff), ad28599 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
 - 
      
- 1 edited
 
- 
          
  uspace/srv/net/tl/icmp/icmp.c (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/srv/net/tl/icmp/icmp.c
rc1198c2 rdf8110d3 612 612 static void icmp_receiver(ipc_callid_t iid, ipc_call_t *icall) 613 613 { 614 bool loop = true;615 614 packet_t *packet; 616 615 int rc; 617 616 618 while (loop) { 617 while (true) { 618 if (!IPC_GET_IMETHOD(*icall)) 619 break; 620 619 621 switch (IPC_GET_IMETHOD(*icall)) { 620 622 case NET_TL_RECEIVED: … … 629 631 async_answer_0(iid, (sysarg_t) rc); 630 632 break; 631 case IPC_M_PHONE_HUNGUP:632 loop = false;633 continue;634 633 default: 635 634 async_answer_0(iid, (sysarg_t) ENOTSUP);  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  