aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-05-16 15:15:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-05-16 15:15:41 +0200
commit657acf98afcb3e37ee2e2fa71daf52565db94739 (patch)
tree82424c43973bc36a58c6b54e7d173560ac798234 /nxcomp
parent91ac79ecc1fdb18ad90a19e5333f32107e78836f (diff)
parentcf4ed917e2d7d6b3683ba1aa4ea4662538b69516 (diff)
downloadnx-libs-657acf98afcb3e37ee2e2fa71daf52565db94739.tar.gz
nx-libs-657acf98afcb3e37ee2e2fa71daf52565db94739.tar.bz2
nx-libs-657acf98afcb3e37ee2e2fa71daf52565db94739.zip
Merge pull request #26 from nitomartinez/fix_developer_debugging
This patch is some code fixes to allow developer debuging by using TEST macros in the NX code
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/Agent.h2
-rw-r--r--nxcomp/ClearArea.cpp2
-rw-r--r--nxcomp/Proxy.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/nxcomp/Agent.h b/nxcomp/Agent.h
index ded344d84..2c5badf53 100644
--- a/nxcomp/Agent.h
+++ b/nxcomp/Agent.h
@@ -217,7 +217,7 @@ class Agent
#if defined(TEST) || defined(INFO)
*logofs << "Agent: proxyCanRead() is "
- << ((int) FD_ISSET(proxy -> getFd(), &readWorkSet)
+ << ((int) FD_ISSET(proxy -> getFd(), &readWorkSet))
<< ".\n" << logofs_flush;
#endif
diff --git a/nxcomp/ClearArea.cpp b/nxcomp/ClearArea.cpp
index 223a3b3e1..83b728158 100644
--- a/nxcomp/ClearArea.cpp
+++ b/nxcomp/ClearArea.cpp
@@ -92,7 +92,7 @@ void ClearAreaStore::dumpIdentity(const Message *message) const
ClearAreaMessage *clearArea = (ClearAreaMessage *) message;
- *logofs << name() << ": Identity exposures " << clearArea -> (unsigned int) exposures
+ *logofs << name() << ": Identity exposures " << (unsigned int) clearArea -> exposures
<< ", window " << clearArea -> window << ", x " << clearArea -> x
<< ", y " << clearArea -> y << ", width " << clearArea -> width
<< ", height " << clearArea -> height << ", size " << clearArea -> size_
diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp
index 9b38661b4..4eb99cf45 100644
--- a/nxcomp/Proxy.cpp
+++ b/nxcomp/Proxy.cpp
@@ -5176,7 +5176,7 @@ char *Proxy::handleSaveAllStores(const char *savePath) const
*(cacheDumpName + DEFAULT_STRING_LENGTH - 1) = '\0';
- mode_t fileMode = umask(0077);
+ fileMode = umask(0077);
cacheDump = new ofstream(cacheDumpName, ios::out);