Nick Mathewson
918e9c5e72
Fix a number of warnings from gcc -pedantic
2010-01-23 16:38:36 -05:00
Nick Mathewson
e2ca403fae
Make it compile under gcc --std=c89.
2010-01-23 16:23:45 -05:00
Nick Mathewson
97a8c79006
Fix compilation of rate-limit code when threading support is disabled
2010-01-22 00:34:21 -05:00
Nick Mathewson
165d30e31a
Fix compilation of rate-limiting code on win32.
2009-12-30 14:29:56 -05:00
Nick Mathewson
885b42734c
Fix test-ratelim compilation on Linux.
...
I'd forgotten to include time.h, and to link against libm.
2009-12-30 13:50:52 -05:00
Nick Mathewson
f0c0124e60
Testing code for bufferevent rate-limiting.
...
This is not part of the regression tests, since running it necessarily
takes a while. There is a new test-ratelim test; run it with '-h'
for an argument to see its options.
2009-12-28 16:58:22 -05:00