mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Merge branch 'v0.6-GxsTransport' into qmlapp_pex_alpha
This commit is contained in:
commit
de9a44fac7
@ -478,11 +478,12 @@ bool p3GxsTrans::dispatchDecryptedMail( const RsGxsId& authorId,
|
||||
}
|
||||
GxsTransSubServices rsrvc = static_cast<GxsTransSubServices>(csri);
|
||||
|
||||
uint32_t rcptsize = decrypted_data_size;
|
||||
uint32_t rcptsize = decrypted_data_size - offset;
|
||||
RsNxsTransPresignedReceipt* receipt =
|
||||
static_cast<RsNxsTransPresignedReceipt*>(
|
||||
RsGxsTransSerializer().deserialise(
|
||||
const_cast<uint8_t*>(decrypted_data), &rcptsize ) );
|
||||
RsNxsSerialiser(RS_SERVICE_TYPE_GXS_TRANS).deserialise(
|
||||
const_cast<uint8_t*>(&decrypted_data[offset]), &rcptsize ));
|
||||
offset += rcptsize;
|
||||
if(!receipt)
|
||||
{
|
||||
std::cerr << "p3GxsTrans::dispatchDecryptedMail(...) (EE) fatal error "
|
||||
|
Loading…
Reference in New Issue
Block a user