ron minnich wrote:
memcpy(rec_dest, rec_src, rec_src->size);
memcpy(rec_dest, &option_table, sizeof(option_table));
completely changes the behavior of the code and is wrong.
I'm willing to be convinced. But sizeof(option_table) is 8
How can that be?
option_table is the long unsigned char [] = { ... } in the source.
//Peter