branches/zip: recv_add_to_hash_table():

Simplify obfuscated pointer arithmetics.
This commit is contained in:
marko 2009-09-23 18:53:21 +00:00
parent c12d8601e3
commit a5b85df51f

View file

@ -1274,7 +1274,7 @@ recv_add_to_hash_table(
sizeof(recv_data_t) + len);
*prev_field = recv_data;
ut_memcpy(((byte*)recv_data) + sizeof(recv_data_t), body, len);
memcpy(recv_data + 1, body, len);
prev_field = &(recv_data->next);