gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_0_13-43-gbd86118
Date: Sat, 25 Feb 2012 11:59:20 +0000

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 <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]