Changes in uspace/srv/net/tl/udp/udp.c [918e9910:91478aa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/udp/udp.c
r918e9910 r91478aa 205 205 } 206 206 // read default packet dimensions 207 ERROR_PROPAGATE( ip_packet_size_req( udp_globals.ip_phone, -1, & udp_globals.packet_dimension .addr_len, & udp_globals.packet_dimension.prefix, & udp_globals.packet_dimension.content, & udp_globals.packet_dimension.suffix));207 ERROR_PROPAGATE( ip_packet_size_req( udp_globals.ip_phone, -1, & udp_globals.packet_dimension )); 208 208 ERROR_PROPAGATE( socket_ports_initialize( & udp_globals.sockets )); 209 209 if( ERROR_OCCURRED( packet_dimensions_initialize( & udp_globals.dimensions ))){ … … 579 579 // }else{ 580 580 // do not ask all the time 581 ERROR_PROPAGATE( ip_packet_size_req( udp_globals.ip_phone, -1, & udp_globals.packet_dimension .addr_len, & udp_globals.packet_dimension.prefix, & udp_globals.packet_dimension.content, & udp_globals.packet_dimension.suffix));581 ERROR_PROPAGATE( ip_packet_size_req( udp_globals.ip_phone, -1, & udp_globals.packet_dimension )); 582 582 packet_dimension = & udp_globals.packet_dimension; 583 583 // } … … 604 604 return udp_release_and_return( packet, result ); 605 605 } 606 packet = pq_add( packet, next_packet, index, 0 ); 606 if( ERROR_OCCURRED( pq_add( & packet, next_packet, index, 0 ))){ 607 return udp_release_and_return( packet, ERROR_CODE ); 608 } 607 609 total_length += ( size_t ) result; 608 610 if( udp_globals.checksum_computing ){
Note:
See TracChangeset
for help on using the changeset viewer.