increase select-timeout to 100 milliseconds
[record-dvb] / sap.c
diff --git a/sap.c b/sap.c
index 49dfcc8d8f2d9f0c2d7074f129579410887d58d4..bc51aa5bea9d059640a1bbb28657fffa0f0160c1 100644 (file)
--- a/sap.c
+++ b/sap.c
@@ -51,7 +51,7 @@ char *get_url_from_sap(char *service)
                FD_SET(fd, &rfds);
 
                tv.tv_sec = 0;
-               tv.tv_usec = 1000;
+               tv.tv_usec = 100000;
 
                if ((retval = select(fd+1, &rfds, NULL, NULL, &tv)) == -1) {
                        perror("select");
Impressum, Datenschutz