Skip to content

Commit

Permalink
Remove doubly defined protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisspyB committed Nov 14, 2024
1 parent f0ec6f4 commit d134374
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/gribjump/remote/GribJumpUser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void GribJumpUser::handle_client(eckit::Stream& s, eckit::Timer& timer) {

s >> version;
if (version != remoteProtocolVersion) {
throw eckit::SeriousBug("Gribjump remote-protocol mismatch: Serverside version: " + std::to_string(protocolVersion_) + ", Clientside version: " + std::to_string(version));
throw eckit::SeriousBug("Gribjump remote-protocol mismatch: Serverside version: " + std::to_string(remoteProtocolVersion) + ", Clientside version: " + std::to_string(version));
}

LogContext ctx(s);
Expand Down
1 change: 0 additions & 1 deletion src/gribjump/remote/GribJumpUser.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class GribJumpUser : public eckit::net::NetUser {

private: // members

constexpr static uint16_t protocolVersion_ = 0;
};

//----------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit d134374

Please sign in to comment.