aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authornemoliu <nemoliu@FreeBSD.org>2010-02-02 17:32:08 +0800
committernemoliu <nemoliu@FreeBSD.org>2010-02-02 17:32:08 +0800
commitaa519aeff8991ff869038c636edee4f407af760c (patch)
treee05769857c572cf585221766538e53a84d2e305b /net-p2p
parent70d2a5eea5cc9ac4cb44243441fed98d00a99c91 (diff)
downloadfreebsd-ports-gnome-aa519aeff8991ff869038c636edee4f407af760c.tar.gz
freebsd-ports-gnome-aa519aeff8991ff869038c636edee4f407af760c.tar.zst
freebsd-ports-gnome-aa519aeff8991ff869038c636edee4f407af760c.zip
- Add missing patch
Reported by: QAT@
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/uhub/files/patch-select.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-p2p/uhub/files/patch-select.c b/net-p2p/uhub/files/patch-select.c
new file mode 100644
index 000000000000..d97ec9ca5e7b
--- /dev/null
+++ b/net-p2p/uhub/files/patch-select.c
@@ -0,0 +1,13 @@
+--- src/network/select.c.orig 2010-01-25 01:38:25.000000000 +0300
++++ src/network/select.c 2010-02-01 12:57:36.000000000 +0300
+@@ -101,8 +101,8 @@
+ FD_ZERO(&g_backend->wfds);
+
+ size_t secs = timeout_queue_get_next_timeout(&g_backend->timeout_queue, g_backend->now);
+- tval.tv_secs = secs;
+- tval.tv_usecs = 0;
++ tval.tv_sec = secs;
++ tval.tv_usec = 0;
+
+ for (n = 0, found = 0; found < g_backend->num && n < g_backend->max; n++)
+ {