apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r528659 - /apr/apr/trunk/poll/unix/port.c
Date Fri, 13 Apr 2007 20:49:55 GMT
Author: wrowe
Date: Fri Apr 13 13:49:55 2007
New Revision: 528659

URL: http://svn.apache.org/viewvc?view=rev&rev=528659
Log:
Fix nsec timeout value

PR: 42093
Reported by: Alex Kiernan <alex.kiernan gmail.com>

Modified:
    apr/apr/trunk/poll/unix/port.c

Modified: apr/apr/trunk/poll/unix/port.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/port.c?view=diff&rev=528659&r1=528658&r2=528659
==============================================================================
--- apr/apr/trunk/poll/unix/port.c (original)
+++ apr/apr/trunk/poll/unix/port.c Fri Apr 13 13:49:55 2007
@@ -260,7 +260,7 @@
     }
     else {
         tv.tv_sec = (long) apr_time_sec(timeout);
-        tv.tv_nsec = (long) apr_time_msec(timeout);
+        tv.tv_nsec = (long) apr_time_usec(timeout) * 1000;
         tvptr = &tv;
     }
 



Mime
View raw message