port/protobuf.h: Fix commit references (#280)
Regression from pull request #278
Signed-off-by: Sebastian Pipping <sebastian@pipping.org>
diff --git a/port/protobuf.h b/port/protobuf.h
index 8e9a44b..4fd7d74 100644
--- a/port/protobuf.h
+++ b/port/protobuf.h
@@ -62,7 +62,7 @@
inline bool RequiresUtf8Validation(
const google::protobuf::FieldDescriptor& descriptor) {
- // commit d8c2501b43c1b56e3efa74048a18f8ce06ba07fe of >= v3.22.0
+ // commit d85c9944c55fb38f4eae149979a0f680ea125ecb of >= v3(!).22.0
#if GOOGLE_PROTOBUF_VERSION >= 4022000
return descriptor.requires_utf8_validation();
#else
@@ -88,7 +88,8 @@
}
inline void PrepareTextParser(google::protobuf::TextFormat::Parser& parser) {
- // commit d8c2501b43c1b56e3efa74048a18f8ce06ba07fe of >=3.8.0
+ // commit d8c2501b43c1b56e3efa74048a18f8ce06ba07fe of >=3.8.0 for .SetRecursionLimit
+ // commit 176f7db11d8242b36a3ea6abb1cc436fca5bf75d of >=3.8.0 for .AllowUnknownField
#if GOOGLE_PROTOBUF_VERSION >= 3008000
parser.SetRecursionLimit(100);
parser.AllowUnknownField(true);