aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-05-05 18:56:35 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-08-16 11:51:39 +0200
commit62573abf00fb6fd6fcc642088a570400d88197d0 (patch)
tree8f82999da66759ac849a6744397300ec98cf3ee2 /nxcomp
parent7f4b50deb5a41bc88227ce925ecbb3fe713705c2 (diff)
downloadnx-libs-62573abf00fb6fd6fcc642088a570400d88197d0.tar.gz
nx-libs-62573abf00fb6fd6fcc642088a570400d88197d0.tar.bz2
nx-libs-62573abf00fb6fd6fcc642088a570400d88197d0.zip
nxagent: simplify nxagentWaitEvents()
no more need to pass down a struct, we now only pass the milliseconds and let the function do the rest.
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/src/Loop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index ddffcd1ca..bb8a89d64 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -1565,6 +1565,10 @@ int NXTransRunning(int fd)
return (control != NULL);
}
+//
+// FIXME: why timeval? Passing milliseconds would be more convenient,
+// the timeval struct/T_timestamp could be built on demand.
+//
int NXTransContinue(struct timeval *selectTs)
{
if (control != NULL)