Changeset 8757d86b3c1ca1f54cdab1e7b2ba21d9a42e42d1

Show
Ignore:
Timestamp:
12/31/08 22:09:36 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1230761376 +0000
git-parent:

[cfde64ad8c6abee30449338144a3ee77b4f0ee48]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1230761376 +0000
Message:

fix math snafu

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_realtime_http.c

    r0181abd r8757d86  
    4040  snprintf(buffer, sizeof(buffer), "<script>window.parent.plot_iframe_data('%lu','%s','%0.3f','%lu');</script>\n", 
    4141           (unsigned long)1179, "allocator_requests", (float)(rand() % 100000) / 1000.0, 
    42            e->whence.tv_sec * 1000 + e->whence.tv_usec / 100); 
     42           e->whence.tv_sec * 1000 + e->whence.tv_usec / 1000); 
    4343  noit_http_response_append(ctx, buffer, strlen(buffer)); 
    4444  noit_http_response_flush(ctx, noit_false);