]> git.webhop.me Git - shellexec.git/commitdiff
fix idle cpu overload >90%
authorGetAway <get-away@t-online.de>
Sat, 14 Jan 2017 09:00:05 +0000 (10:00 +0100)
committersvenhoefer <svenhoefer@svenhoefer.com>
Wed, 18 Jan 2017 09:38:19 +0000 (10:38 +0100)
shellexec.c

index a4198ef480d91276177d828df0e9a0eb1bb96ac7..789b60f9bedbdecb0c75b67e203d722987c0eadc 100644 (file)
@@ -12,7 +12,7 @@
 #include "pngw.h"
 
 
-#define SH_VERSION 2.0
+#define SH_VERSION 2.01
 
 static char CFG_FILE[128]="/var/tuxbox/config/shellexec.conf";
 
@@ -665,7 +665,7 @@ int Get_Selection(MENU *m)
                        ShowInfo(m, knew);
                }
                knew=1;
-               switch(rccode = GetRCCode(mtmo * 1000))
+               switch(rccode = GetRCCode(1000))
                {
                        case RC_RED:
                                if(active && direct[0]>=0)