[X2Go-Commits] [nx-libs] 02/02: nxcomp/src/Loop.cpp: don't flush data out mid-append.

git-admin at x2go.org git-admin at x2go.org
Mon Dec 25 03:51:03 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.

commit f26b8fa382a112b9ee680eccc86769b43a86ea93
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Dec 25 03:50:30 2017 +0100

    nxcomp/src/Loop.cpp: don't flush data out mid-append.
    
    Doing so will lead to the next append operation failing.
---
 nxcomp/src/Loop.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index 436250e..465eaee 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -14028,13 +14028,13 @@ static void handleCheckSelectInLoop(int &setFDs, fd_set &readSet,
   {
     i = 0;
 
-    nxinfo << "Loop: Selected for read are ";
+    nxinfo << "Loop: Selected for read are";
 
     for (int j = 0; j < setFDs; j++)
     {
       if (FD_ISSET(j, &readSet))
       {
-        nxinfo_append << "[" << j << "]" << std::flush;
+        nxinfo_append << " [" << j << "]";
 
         i++;
       }
@@ -14057,7 +14057,7 @@ static void handleCheckSelectInLoop(int &setFDs, fd_set &readSet,
     {
       if (FD_ISSET(j, &writeSet))
       {
-        nxinfo_append << "[" << j << "]" << std::flush;
+        nxinfo_append << " [" << j << "]";
 
         i++;
       }
@@ -14115,7 +14115,7 @@ static void handleCheckResultInLoop(int &resultFDs, int &errorFDs, int &setFDs,
     {
       if (FD_ISSET(j, &readSet))
       {
-        nxinfo_append << "[" << j << "]" << std::flush;
+        nxinfo_append << " [" << j << "]";
 
         i++;
       }
@@ -14138,7 +14138,7 @@ static void handleCheckResultInLoop(int &resultFDs, int &errorFDs, int &setFDs,
     {
       if (FD_ISSET(j, &writeSet))
       {
-        nxinfo_append << "[" << j << "]" << std::flush;
+        nxinfo_append << " [" << j << "]";
 
         i++;
       }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list