Fix: now the old_payload_data is a buffer to the original Payload data instead of...
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Fri, 6 Jan 2012 10:09:09 +0000 (08:09 -0200)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Fri, 6 Jan 2012 10:09:09 +0000 (08:09 -0200)
commit0e8eba2329a5b4246a006a31277e8345c1989fd3
treecf1c86e01cf9c8616855486fb6128de0b631df8a
parent66c3a9164348bb8b77baf65d31e5937bd80992c2
Fix: now the old_payload_data is a buffer to the original Payload data instead of a pointer to it.
- This is required because the Payload.reset() deletes the data pointed by the old_payload_data,
so it became invalid and was breaking the append() method.
src/host/messagepayload.cpp