Changes in uspace/lib/socket/packet/packet_client.c [caad59a:849ed54] in mainline
- File:
- 
      - 1 edited
 
 - 
          
  uspace/lib/socket/packet/packet_client.c (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      uspace/lib/socket/packet/packet_client.crcaad59a r849ed54 156 156 packet_t packet_get_copy(int phone, packet_t packet){ 157 157 packet_t copy; 158 uint8_t * src = NULL;159 uint8_t * dest = NULL;158 uint8_t * src; 159 uint8_t * dest; 160 160 size_t addrlen; 161 161 … … 164 164 } 165 165 // get a new packet 166 copy = packet_get_4 _local(phone, PACKET_DATA_LENGTH(packet), PACKET_MAX_ADDRESS_LENGTH(packet), packet->max_prefix, PACKET_MIN_SUFFIX(packet));166 copy = packet_get_4(phone, PACKET_DATA_LENGTH(packet), PACKET_MAX_ADDRESS_LENGTH(packet), packet->max_prefix, PACKET_MIN_SUFFIX(packet)); 167 167 if(! copy){ 168 168 return NULL; … … 178 178 return copy; 179 179 }else{ 180 pq_release _local(phone, copy->packet_id);180 pq_release(phone, copy->packet_id); 181 181 return NULL; 182 182 } 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
