aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src
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-27 08:26:59 +0200
commit17495dd6aedd27fb8a083fc841a7f297e6a8da8f (patch)
tree28163ffc76609a7fb26c395ce711fa53d552ea62 /nxcomp/src
parent1d32e5368ab8d94a100144f741b00f4506e6eeff (diff)
downloadnx-libs-17495dd6aedd27fb8a083fc841a7f297e6a8da8f.tar.gz
nx-libs-17495dd6aedd27fb8a083fc841a7f297e6a8da8f.tar.bz2
nx-libs-17495dd6aedd27fb8a083fc841a7f297e6a8da8f.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/src')
-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)