Changeset f4f866c in mainline for uspace/lib/socket/packet/packet_client.c
- Timestamp:
- 2010-04-23T21:42:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c39a907
- Parents:
- 38aaacc2 (diff), 80badbe (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
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/socket/packet/packet_client.c
r38aaacc2 rf4f866c 156 156 packet_t packet_get_copy(int phone, packet_t packet){ 157 157 packet_t copy; 158 uint8_t * src ;159 uint8_t * dest ;158 uint8_t * src = NULL; 159 uint8_t * dest = NULL; 160 160 size_t addrlen; 161 161 … … 164 164 } 165 165 // get a new packet 166 copy = packet_get_4 (phone, PACKET_DATA_LENGTH(packet), PACKET_MAX_ADDRESS_LENGTH(packet), packet->max_prefix, PACKET_MIN_SUFFIX(packet));166 copy = packet_get_4_local(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 (phone, copy->packet_id);180 pq_release_local(phone, copy->packet_id); 181 181 return NULL; 182 182 }
Note:
See TracChangeset
for help on using the changeset viewer.