[X2Go-Commits] [x2gokdrive] 01/03: x2gokdriveremote.c: Two nasty typos fixed...

git-admin at x2go.org git-admin at x2go.org
Thu Jul 18 20:33:31 CEST 2019


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

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 889a3f2b543f7db841617b15a8e982013340481a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jul 17 01:08:21 2019 +0200

    x2gokdriveremote.c: Two nasty typos fixed...
---
 x2gokdriveremote.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c
index 7b1da19..855c09c 100644
--- a/x2gokdriveremote.c
+++ b/x2gokdriveremote.c
@@ -1298,7 +1298,7 @@ void sendMainImageFromSendThread(uint32_t width, uint32_t height, int32_t dx ,in
 
     pthread_mutex_lock(&remoteVars.mainimg_mutex);
 
-    for(int j=0;j<9;++i)
+    for(int j=0;j<9;++j)
     {
         regions[j].rect.size.width=0;
         regions[j].source_crc=0;
@@ -1985,7 +1985,7 @@ clientReadNotify(int fd, int ready, void *data)
                     EPHYR_DBG("Client want resize to %dx%d",width,height);
 
                     memset(screens,0, sizeof(struct VirtScreen)*4);
-                    for(int j=0;j<4;++i)
+                    for(int j=0;j<4;++j)
                     {
                         char* record=buff+9+i*8;
                         screens[j].width=*((uint16_t*)record);

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


More information about the x2go-commits mailing list