summaryrefslogtreecommitdiff
path: root/extra/moc
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-06-19 02:48:26 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-06-19 02:48:26 +0000
commit5457eacc747fc3f91e10a1f452230b1feac39eff (patch)
treebae3163aec825d4fc53c0ef265eac2148b31353b /extra/moc
parentc80552b41838a5668458ebb1eb9b0f44ea6fe879 (diff)
Sun Jun 19 02:48:26 UTC 2011
Diffstat (limited to 'extra/moc')
-rw-r--r--extra/moc/curl-streams.diff28
1 files changed, 0 insertions, 28 deletions
diff --git a/extra/moc/curl-streams.diff b/extra/moc/curl-streams.diff
deleted file mode 100644
index 2dbc38d54..000000000
--- a/extra/moc/curl-streams.diff
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -u moc-2.4.4/io_curl.c moc-2.4.4/io_curl.c
---- a/io_curl.c 2007-07-08 08:54:45.000000000 +0200
-+++ b/io_curl.c 2011-05-18 09:09:40.000000000 +0200
-@@ -338,6 +338,8 @@
- fd_set read_fds, write_fds, exc_fds;
- int max_fd;
- int ret;
-+ long milliseconds;
-+ struct timeval timeout;
-
- logit ("Doing select()...");
-
-@@ -356,8 +358,14 @@
- if (s->curl.wake_up_pipe[0] > max_fd)
- max_fd = s->curl.wake_up_pipe[0];
-
-+ curl_multi_timeout(s->curl.multi_handle, &milliseconds);
-+ if(milliseconds <= 0)
-+ milliseconds = 1000; /* just a cautionary default */
-+ timeout.tv_sec = milliseconds / 1000;
-+ timeout.tv_usec = (milliseconds % 1000) * 1000;
-+
- ret = select (max_fd + 1, &read_fds, &write_fds,
-- &exc_fds, NULL);
-+ &exc_fds, &timeout);
-
- if (ret < 0 && errno == EINTR) {
- logit ("Interrupted");