Update ProtobufReader.cpp

This commit is contained in:
alexey-milovidov 2019-07-20 00:25:07 +03:00 committed by GitHub
parent 514851f0f8
commit 93ddb7da89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ bool ProtobufReader::SimpleReader::startMessage()
if (unlikely(in.eof()))
return false;
size_t size_of_message = readVarint();
if(size_of_message == 0)
if (size_of_message == 0)
unknownFormat();
current_message_end = root_message_end = cursor + size_of_message;
}