style fixes

This commit is contained in:
Aleksandar Fabijanic 2016-03-29 22:02:40 -07:00
parent f11bf77505
commit 5cc3ef7086

View File

@ -47,7 +47,7 @@ ZipDataInfo::ZipDataInfo(std::istream& in, bool assumeHeaderRead):
else
{
in.read(_rawInfo, ZipCommon::HEADER_SIZE);
if ((! in) || (in.gcount() != ZipCommon::HEADER_SIZE))
if ((!in) || (in.gcount() != ZipCommon::HEADER_SIZE))
return;
}
poco_assert (std::memcmp(_rawInfo, HEADER, ZipCommon::HEADER_SIZE) == 0);
@ -87,7 +87,7 @@ ZipDataInfo64::ZipDataInfo64(std::istream& in, bool assumeHeaderRead):
else
{
in.read(_rawInfo, ZipCommon::HEADER_SIZE);
if ((! in) || (in.gcount() != ZipCommon::HEADER_SIZE))
if ((!in) || (in.gcount() != ZipCommon::HEADER_SIZE))
return;
}
poco_assert (std::memcmp(_rawInfo, HEADER, ZipCommon::HEADER_SIZE) == 0);