mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 08:59:50 -05:00
fixed deserialise bug in FileItem
This commit is contained in:
parent
a69629cf73
commit
0125f91b2d
@ -485,7 +485,7 @@ RsFileConfigItem *RsFileConfigSerialiser::deserialiseFileItem(void *data, uint32
|
|||||||
if ((RS_PKT_VERSION1 != getRsItemVersion(rstype)) ||
|
if ((RS_PKT_VERSION1 != getRsItemVersion(rstype)) ||
|
||||||
(RS_PKT_CLASS_CONFIG != getRsItemClass(rstype)) ||
|
(RS_PKT_CLASS_CONFIG != getRsItemClass(rstype)) ||
|
||||||
(RS_PKT_TYPE_FILE_CONFIG != getRsItemType(rstype)) ||
|
(RS_PKT_TYPE_FILE_CONFIG != getRsItemType(rstype)) ||
|
||||||
(RS_PKT_SUBTYPE_FILE_ITEM_deprecated != getRsItemSubType(rstype)))
|
(RS_PKT_SUBTYPE_FILE_ITEM != getRsItemSubType(rstype)))
|
||||||
{
|
{
|
||||||
return NULL; /* wrong type */
|
return NULL; /* wrong type */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user