summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2013-05-19 20:06:29 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2013-05-19 20:06:29 +0200
commitd3b966a93f176ce669f228b0d0dad0b9682c3e11 (patch)
tree67ca692bdbc27dbd54c5d23aab76ede4509fa2c5 /src
parentce3b2c80a1396725b354d41ce76378d61eed1913 (diff)
downloadtdv-d3b966a93f176ce669f228b0d0dad0b9682c3e11.tar.gz
tdv-d3b966a93f176ce669f228b0d0dad0b9682c3e11.tar.xz
tdv-d3b966a93f176ce669f228b0d0dad0b9682c3e11.zip
Fix a 100% CPU usage bug
Diffstat (limited to 'src')
-rw-r--r--src/sdtui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdtui.c b/src/sdtui.c
index 285cd9c..502aec3 100644
--- a/src/sdtui.c
+++ b/src/sdtui.c
@@ -1139,7 +1139,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
while (TRUE)
{
- if (poll_restart (pollfd, 3, -1) == -1)
+ if (poll_restart (pollfd, 2, -1) == -1)
abort ();
if ((pollfd[0].revents & POLLIN)