diff options
author | Tong LIU <nemoliu@FreeBSD.org> | 2010-02-02 09:32:08 +0000 |
---|---|---|
committer | Tong LIU <nemoliu@FreeBSD.org> | 2010-02-02 09:32:08 +0000 |
commit | e85b82d2c209c4ba36b4afe5fac56c07cde6f9d8 (patch) | |
tree | 9fd9b7818a5b400c13b6fef27da165a0f71458a0 /net-p2p | |
parent | 75dbf689f3ad5e84475551e6b63dc32e97af8af7 (diff) | |
download | ports-e85b82d2c209c4ba36b4afe5fac56c07cde6f9d8.tar.gz ports-e85b82d2c209c4ba36b4afe5fac56c07cde6f9d8.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/uhub/files/patch-select.c | 13 |
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++) + { |