diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-05-31 16:37:23 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-05-31 16:37:23 -0400 |
commit | b59b76625f5ab8ab69fbad2630d66ca7ec1b45e9 (patch) | |
tree | c24393cb0eb43d5f45f0afd9ba5301944d8f74e4 /cpp/test/Ice/plugin/Client.cpp | |
parent | Fixed stacktrace version on OS X (diff) | |
download | ice-b59b76625f5ab8ab69fbad2630d66ca7ec1b45e9.tar.bz2 ice-b59b76625f5ab8ab69fbad2630d66ca7ec1b45e9.tar.xz ice-b59b76625f5ab8ab69fbad2630d66ca7ec1b45e9.zip |
Fixed version computation
Diffstat (limited to 'cpp/test/Ice/plugin/Client.cpp')
-rw-r--r-- | cpp/test/Ice/plugin/Client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/plugin/Client.cpp b/cpp/test/Ice/plugin/Client.cpp index 12305af063b..85a060f89f7 100644 --- a/cpp/test/Ice/plugin/Client.cpp +++ b/cpp/test/Ice/plugin/Client.cpp @@ -163,13 +163,13 @@ main(int argc, char* argv[]) ostringstream os; os << pluginDir << "TestPlugin,"; os << majorVersion * 10 + minorVersion; - if(patchVersion > 70) + if(patchVersion >= 60) { - os << 'b' << (patchVersion - 71); + os << 'b' << (patchVersion - 60); } - else if(patchVersion > 50) + else if(patchVersion >= 50) { - os << 'a' << (patchVersion - 51); + os << 'a' << (patchVersion - 50); } os << ":createPlugin"; Ice::InitializationData initData; |