You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2008/06/18 01:53:17 UTC

svn commit: r668879 - /apr/apr/branches/1.3.x/test/sockperf.c

Author: bojan
Date: Tue Jun 17 16:53:16 2008
New Revision: 668879

URL: http://svn.apache.org/viewvc?rev=668879&view=rev
Log:
Backport r668878 from the trunk.
Use correct format for apr_time_t.

Modified:
    apr/apr/branches/1.3.x/test/sockperf.c

Modified: apr/apr/branches/1.3.x/test/sockperf.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/test/sockperf.c?rev=668879&r1=668878&r2=668879&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/test/sockperf.c (original)
+++ apr/apr/branches/1.3.x/test/sockperf.c Tue Jun 17 16:53:16 2008
@@ -231,11 +231,12 @@
         printf("%10d byte block:\n", results[i].size);
         printf("\t%2d iterations : ", results[i].iters);
         for (j = 0; j < results[i].iters; j++) {
-            printf("%6Ld ", results[i].msecs[j]);
+            printf("%6" APR_TIME_T_FMT, results[i].msecs[j]);
             totTime += results[i].msecs[j];
         }
         printf("<\n");
-        printf("\t  Average: %6Ld\n", totTime / results[i].iters);
+        printf("\t  Average: %6" APR_TIME_T_FMT "\n",
+               totTime / results[i].iters);
     }
 
     return 0;