[SCM] GNU gnutls branch, master, updated. gnutls_3_0_13-43-gbd86118

"Nikos Mavrogiannopoulos" <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=bd86118a9dec58bf720780291b93f12150841cea

The branch, master has been updated
       via  bd86118a9dec58bf720780291b93f12150841cea (commit)
      from  93354fe965b79203c412c85c312c2fcf096264a7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bd86118a9dec58bf720780291b93f12150841cea
Author: Nikos Mavrogiannopoulos <[email protected]>
Date:   Sat Feb 25 13:04:38 2012 +0100

    provide accurate value to select

-----------------------------------------------------------------------

Summary of changes:
 src/udp-serv.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/udp-serv.c b/src/udp-serv.c
index 489a577..c4a376b 100644
--- a/src/udp-serv.c
+++ b/src/udp-serv.c
@@ -190,7 +190,13 @@ char c;
   
   tv.tv_sec = 0;
   tv.tv_usec = ms * 1000;
-  
+
+  while(tv.tv_usec >= 1000000)
+    {
+      tv.tv_usec -= 1000000;
+      tv.tv_sec++;
+    }
+
   ret = select(priv->fd+1, &rfds, NULL, NULL, &tv);
 
   if (ret <= 0)


hooks/post-receive
-- 
GNU gnutls
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.