aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp b/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp
index e5b9b1f9102..30d6f5bd45c 100644
--- a/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp
+++ b/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp
@@ -119,8 +119,8 @@ StorageProtocol::encode(const vespalib::Version& version,
}
} catch (std::exception & e) {
- if (version < version6_0 &&
- !suppressEncodeWarning(message.getInternalMessage().get())) {
+ if (!(version < version6_0 &&
+ suppressEncodeWarning(message.getInternalMessage().get()))) {
LOGBP(warning, "Failed to encode %s storage protocol message %s: %s",
version.toString().c_str(),
message.getInternalMessage()->toString().c_str(),