aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorNito Martinez <Nito@Qindel.ES>2016-05-31 11:23:40 +0200
committerNito Martinez <Nito@Qindel.ES>2016-05-31 11:23:40 +0200
commit035995a8c16e8867f209100330653b33de06f458 (patch)
tree66a89defd48b40c50eb597b0e631aa586c85b9eb /nxcomp
parentaba2a534f630f5b65a53e0ea7cdba17b77263f87 (diff)
downloadnx-libs-035995a8c16e8867f209100330653b33de06f458.tar.gz
nx-libs-035995a8c16e8867f209100330653b33de06f458.tar.bz2
nx-libs-035995a8c16e8867f209100330653b33de06f458.zip
display version number in nxcomp log, fixes #127
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/Control.cpp3
-rw-r--r--nxcomp/Loop.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/nxcomp/Control.cpp b/nxcomp/Control.cpp
index 1bf2dbdd2..93b3ff277 100644
--- a/nxcomp/Control.cpp
+++ b/nxcomp/Control.cpp
@@ -618,7 +618,8 @@ Control::Control()
#ifdef TEST
*logofs << "Control: Major version is " << LocalVersionMajor
<< " minor is " << LocalVersionMinor << " patch is "
- << LocalVersionPatch << ".\n" << logofs_flush;
+ << LocalVersionPatch << " Maintenance version is "
+ << LocalVersionMaintenancePatch << ".\n" << logofs_flush;
#endif
//
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 97020d162..436713761 100644
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -7508,7 +7508,6 @@ int ReadProxyVersion(int fd)
&(control -> RemoteVersionPatch));
}
- #ifdef TEST
*logofs << "Loop: Identified remote version '" << control -> RemoteVersionMajor
<< "." << control -> RemoteVersionMinor << "." << control -> RemoteVersionPatch
<< "'.\n" << logofs_flush;
@@ -7520,7 +7519,6 @@ int ReadProxyVersion(int fd)
*logofs << "Loop: Local version '" << control -> LocalVersionMajor
<< "." << control -> LocalVersionMinor << "." << control -> LocalVersionPatch
<< "'.\n" << logofs_flush;
- #endif
if (SetVersion() < 0)
{