mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
branches/zip: recv_add_to_hash_table():
Simplify obfuscated pointer arithmetics.
This commit is contained in:
parent
c12d8601e3
commit
a5b85df51f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue