[Reconnoiter-devel] [reconnoiter commit] r555 - trunk/src

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Wed Dec 31 17:09:36 EST 2008


Author: jesus
Date: 2008-12-31 17:09:36 -0500 (Wed, 31 Dec 2008)
New Revision: 555

Modified:
   trunk/src/stratcon_realtime_http.c
Log:
fix math snafu

Modified: trunk/src/stratcon_realtime_http.c
===================================================================
--- trunk/src/stratcon_realtime_http.c	2008-12-31 20:27:33 UTC (rev 554)
+++ trunk/src/stratcon_realtime_http.c	2008-12-31 22:09:36 UTC (rev 555)
@@ -39,7 +39,7 @@
 
   snprintf(buffer, sizeof(buffer), "<script>window.parent.plot_iframe_data('%lu','%s','%0.3f','%lu');</script>\n",
            (unsigned long)1179, "allocator_requests", (float)(rand() % 100000) / 1000.0,
-           e->whence.tv_sec * 1000 + e->whence.tv_usec / 100);
+           e->whence.tv_sec * 1000 + e->whence.tv_usec / 1000);
   noit_http_response_append(ctx, buffer, strlen(buffer));
   noit_http_response_flush(ctx, noit_false);
 



More information about the Reconnoiter-devel mailing list