summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authordeva <deva>2009-07-24 08:49:32 +0000
committerdeva <deva>2009-07-24 08:49:32 +0000
commitcdc1e51494c6afc16f00e2d5829db5250a801f42 (patch)
treedc048afa0e2c81521341b7b942e7e3ae492f0d93 /server/src
parent1924830084fce3aa37463038bdf9899c16cdab54 (diff)
Fixed a bug in the versionstr test (sort test always succeeded)
Diffstat (limited to 'server/src')
-rw-r--r--server/src/versionstr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/versionstr.cc b/server/src/versionstr.cc
index 8c0521f..bfa8bb4 100644
--- a/server/src/versionstr.cc
+++ b/server/src/versionstr.cc
@@ -200,7 +200,7 @@ int main()
std::vector<std::string>::iterator j = refs.begin();
while(i != versions.end()) {
printf("%s should be %s\n", ((std::string)*i).c_str(), j->c_str());
- if(((std::string)*i) != *j) return false;
+ if(((std::string)*i) != *j) return 1;
i++; j++;
}