apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: apr/test testpoll.c
Date Mon, 15 Jul 2002 03:46:03 GMT
aaron       2002/07/14 20:46:03

  Modified:    test     testpoll.c
  Log:
  Fix units bug in apr_interval_time_t parameter.
  
  Revision  Changes    Path
  1.11      +5 -5      apr/test/testpoll.c
  
  Index: testpoll.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testpoll.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- testpoll.c	12 Jul 2002 11:47:15 -0000	1.10
  +++ testpoll.c	15 Jul 2002 03:46:03 -0000	1.11
  @@ -187,29 +187,29 @@
       printf("OK\n");
       printf("Starting Tests\n");
   
  -    apr_poll(pollset, 3, &srv, 10);
  +    apr_poll(pollset, 3, &srv, 10 * APR_USEC_PER_SEC);
       check_sockets(pollset, s);
       
       send_msg(s, sa, 2);
   
  -    apr_poll(pollset, 3, &srv, 10); 
  +    apr_poll(pollset, 3, &srv, 10 * APR_USEC_PER_SEC); 
       check_sockets(pollset, s);
   
       recv_msg(s, 2, context);
       send_msg(s, sa, 1);
   
  -    apr_poll(pollset, 3, &srv, 10); 
  +    apr_poll(pollset, 3, &srv, 10 * APR_USEC_PER_SEC); 
       check_sockets(pollset, s);
   
       send_msg(s, sa, 2);
   
  -    apr_poll(pollset, 3, &srv, 10); 
  +    apr_poll(pollset, 3, &srv, 10 * APR_USEC_PER_SEC); 
       check_sockets(pollset, s);
        
       recv_msg(s, 1, context);
       send_msg(s, sa, 0);
       
  -    apr_poll(pollset, 3, &srv, 10); 
  +    apr_poll(pollset, 3, &srv, 10 * APR_USEC_PER_SEC); 
       check_sockets(pollset, s);
           
       printf("Tests completed.\n");
  
  
  

Mime
View raw message