added an error output for invalid image_size

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2012-06-04 13:36:59 +00:00
parent 94729aae4b
commit c78ca83090

View File

@ -1098,6 +1098,7 @@ RsChatAvatarItem::RsChatAvatarItem(void *data,uint32_t /*size*/)
offset += image_size ;
}else{
ok = false;
std::cerr << "offset+image_size exceeds rssize" << std::endl;
}
if (offset != rssize)