]> granicus.if.org Git - libevent/log
libevent
16 years agoUse new EVUTIL_ERR_*_RETRIABLE macros when we're testing an errno for blocking.
Nick Mathewson [Tue, 13 Jan 2009 19:20:04 +0000 (19:20 +0000)]
Use new EVUTIL_ERR_*_RETRIABLE macros when we're testing an errno for blocking.
Previously, we used inconsistent and incompletely ported ifdefs.
(We don't use these macros in platform-specific files like evpoll.c, since
they don't need to work on win32.)

svn:r995

16 years agoNew EVUTIL_ERR_*_RETRIABLE macros to tell if an errno blocked or failed.
Nick Mathewson [Tue, 13 Jan 2009 19:19:50 +0000 (19:19 +0000)]
New EVUTIL_ERR_*_RETRIABLE macros to tell if an errno blocked or failed.

svn:r994

16 years agoAdd a new evbuffer_write_atmost() functino to write no more than a given number of...
Nick Mathewson [Mon, 12 Jan 2009 20:42:19 +0000 (20:42 +0000)]
Add a new evbuffer_write_atmost() functino to write no more than a given number of bytes to an fd.

svn:r993

16 years agoSmall cleanups to buffer.h documentation.
Nick Mathewson [Mon, 12 Jan 2009 20:42:06 +0000 (20:42 +0000)]
Small cleanups to buffer.h documentation.

svn:r992

16 years agoMove strlcpy.c into libevent-core, so that code built against libevent-core on platfo...
Nick Mathewson [Mon, 12 Jan 2009 20:36:24 +0000 (20:36 +0000)]
Move strlcpy.c into libevent-core, so that code built against libevent-core on platforms without strlcpy can link.

svn:r991

16 years agomake it compile with USE_DEBUG again; reported by Alexander Drozdov
Niels Provos [Mon, 12 Jan 2009 05:22:29 +0000 (05:22 +0000)]
make it compile with USE_DEBUG again; reported by Alexander Drozdov

svn:r990

16 years agoImprove the hashsocket function.
Nick Mathewson [Sat, 10 Jan 2009 14:37:45 +0000 (14:37 +0000)]
Improve the hashsocket function.

svn:r989

16 years agoOn win32, use a hashtable to map sockets to events rather than using an array.
Nick Mathewson [Fri, 9 Jan 2009 13:42:21 +0000 (13:42 +0000)]
On win32, use a hashtable to map sockets to events rather  than using an array.

svn:r988

16 years agoDocument internal evmap functions, add a couple of asserts, and fix up some things...
Nick Mathewson [Fri, 9 Jan 2009 05:01:48 +0000 (05:01 +0000)]
Document internal evmap functions, add a couple of asserts, and fix up some things that did not need to be void* any more

svn:r987

16 years agoWork better with platforms that do not have ipv6 structures, or that do not have...
Nick Mathewson [Fri, 2 Jan 2009 21:21:58 +0000 (21:21 +0000)]
Work better with platforms that do not have ipv6 structures, or that do not have sin_len fields, etc.

svn:r986

16 years agoChange the type of nameserver.address from u32 to sockaddr_storage, so that we can...
Nick Mathewson [Fri, 2 Jan 2009 20:46:35 +0000 (20:46 +0000)]
Change the type of nameserver.address from u32 to sockaddr_storage, so that we can handle nameservers at IPv6 addresses.

svn:r985

16 years agoAdd another function to parse the common address:port combination formats into a...
Nick Mathewson [Fri, 2 Jan 2009 20:46:26 +0000 (20:46 +0000)]
Add another function to parse the common address:port combination formats into a sockaddr.

svn:r984

16 years agoNew functions in evutil to clone inet_pton and inet_ntop, with tests.
Nick Mathewson [Fri, 2 Jan 2009 20:46:12 +0000 (20:46 +0000)]
New functions in evutil to clone inet_pton and inet_ntop, with tests.
Adapted from Tor code.

svn:r983

16 years agomalloc fd only if it is needed.
Niels Provos [Fri, 2 Jan 2009 18:18:30 +0000 (18:18 +0000)]
malloc fd only if it is needed.

svn:r982

16 years agoInclude http_compat.h in http.c so we do not get warnings about functions with no...
Nick Mathewson [Fri, 2 Jan 2009 04:56:56 +0000 (04:56 +0000)]
Include http_compat.h in http.c so we do not get warnings about functions with no prototypes.

svn:r981

16 years agoimplement evdns_cancel_request; test one of the new evdns_base functions
Niels Provos [Thu, 25 Dec 2008 16:25:37 +0000 (16:25 +0000)]
implement evdns_cancel_request; test one of the new evdns_base functions

svn:r980

16 years agogenerate documentation for move dns header files
Niels Provos [Thu, 25 Dec 2008 16:21:13 +0000 (16:21 +0000)]
generate documentation for move dns header files

svn:r979

16 years agoforgot to re-enable dns tests
Niels Provos [Thu, 25 Dec 2008 16:20:45 +0000 (16:20 +0000)]
forgot to re-enable dns tests

svn:r978

16 years agowe cannot realloc memory used by TAILQ; instead malloc each slot individually
Niels Provos [Thu, 25 Dec 2008 09:22:13 +0000 (09:22 +0000)]
we cannot realloc memory used by TAILQ; instead malloc each slot individually

svn:r977

16 years agoremove http_compat include
Niels Provos [Tue, 23 Dec 2008 22:38:01 +0000 (22:38 +0000)]
remove http_compat include

svn:r976

16 years agoreduce void *age a little bit
Niels Provos [Tue, 23 Dec 2008 22:31:27 +0000 (22:31 +0000)]
reduce void *age a little bit

svn:r975

16 years agoremove unused variable
Niels Provos [Tue, 23 Dec 2008 22:24:32 +0000 (22:24 +0000)]
remove unused variable

svn:r974

16 years agodeprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instea...
Niels Provos [Tue, 23 Dec 2008 22:23:37 +0000 (22:23 +0000)]
deprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instead; move the old definitions to compat

svn:r973

16 years agoRestructure the event backends so that they do not need to keep track of events thems...
Niels Provos [Tue, 23 Dec 2008 16:37:01 +0000 (16:37 +0000)]
Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal.

svn:r972

16 years agothe switch of bufferevents for http connections did not handle the EVBUFFER_ERROR...
Niels Provos [Tue, 23 Dec 2008 14:53:55 +0000 (14:53 +0000)]
the switch of bufferevents for http connections did not handle the EVBUFFER_ERROR case correctly

svn:r971

16 years agofix memory leaks in the regression tools; add another close detection test that valid...
Niels Provos [Fri, 19 Dec 2008 22:42:51 +0000 (22:42 +0000)]
fix memory leaks in the regression tools; add another close detection test that validates that there are no dangling connections on the server

svn:r969

16 years agofix the close detection problem correctly by not running close detection on the server
Niels Provos [Fri, 19 Dec 2008 22:41:07 +0000 (22:41 +0000)]
fix the close detection problem correctly by not running close detection on the server

svn:r968

16 years agoMake the http connection close detection work properly with bufferevents and fix...
Niels Provos [Fri, 19 Dec 2008 21:31:43 +0000 (21:31 +0000)]
Make the http connection close detection work properly with bufferevents and fix a potential memory leak associated with it

svn:r963

16 years agomemory leak: forgot to free paused rpcs in server
Niels Provos [Fri, 19 Dec 2008 21:03:42 +0000 (21:03 +0000)]
memory leak: forgot to free paused rpcs in server

svn:r962

16 years agomemory leak: forgot to free the configuration object
Niels Provos [Fri, 19 Dec 2008 21:02:36 +0000 (21:02 +0000)]
memory leak: forgot to free the configuration object

svn:r961

16 years agoconstify structs; from Andrei Nigmatulin
Niels Provos [Sat, 13 Dec 2008 06:11:12 +0000 (06:11 +0000)]
constify structs; from Andrei Nigmatulin

svn:r959

16 years agoImplement increased DSN-poisoning resistance via the 0x20 hack.
Nick Mathewson [Wed, 3 Dec 2008 20:09:13 +0000 (20:09 +0000)]
Implement increased DSN-poisoning resistance via the 0x20 hack.

svn:r958

16 years agomove cirular queue removal into its own function
Niels Provos [Sat, 29 Nov 2008 01:12:41 +0000 (01:12 +0000)]
move cirular queue removal into its own function

svn:r957

16 years agoinstall the header files, too
Niels Provos [Fri, 28 Nov 2008 20:55:11 +0000 (20:55 +0000)]
install the header files, too

svn:r956

16 years agomove dns header files into the include directory; move old functions into compat...
Niels Provos [Fri, 28 Nov 2008 20:11:24 +0000 (20:11 +0000)]
move dns header files into the include directory; move old functions into compat and structs into a struct header file

svn:r955

16 years agofix a typo in setting the global event base; reported by lance
Niels Provos [Thu, 27 Nov 2008 19:57:48 +0000 (19:57 +0000)]
fix a typo in setting the global event base; reported by lance

svn:r953

16 years agominor compilation and regresson fixes; from Frank Denis
Niels Provos [Thu, 27 Nov 2008 19:34:07 +0000 (19:34 +0000)]
minor compilation and regresson fixes; from Frank Denis

svn:r952

16 years agoClear the timer cache when leaving the event loop; reported by Robin Haberkorn
Niels Provos [Thu, 27 Nov 2008 19:27:33 +0000 (19:27 +0000)]
Clear the timer cache when leaving the event loop; reported by Robin Haberkorn

svn:r950

16 years agoAllow setting of local port for evhttp connections to support millions of connections...
Niels Provos [Sun, 16 Nov 2008 23:22:14 +0000 (23:22 +0000)]
Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones

svn:r948

16 years agoonly bind the socket on connect when a local address has been provided; reported...
Niels Provos [Sat, 15 Nov 2008 05:27:23 +0000 (05:27 +0000)]
only bind the socket on connect when a local address has been provided; reported by Ajejo Sanchez

svn:r946

16 years agoclear the timer cache on entering event loop; reported by Victor Chang
Niels Provos [Thu, 30 Oct 2008 19:38:31 +0000 (19:38 +0000)]
clear the timer cache on entering event loop; reported by Victor Chang

svn:r944

16 years agoFix: do not crash when asked to configure an impossible event_base
Nick Mathewson [Fri, 26 Sep 2008 13:36:15 +0000 (13:36 +0000)]
Fix: do not crash when asked to configure an impossible event_base

svn:r942

16 years agodo not remove accept-encoding header in make request
Niels Provos [Sun, 7 Sep 2008 23:24:54 +0000 (23:24 +0000)]
do not remove accept-encoding header in make request

svn:r938

16 years agoFix compilation of recent error code with win32.
Nick Mathewson [Fri, 5 Sep 2008 16:47:04 +0000 (16:47 +0000)]
Fix compilation of recent error code with win32.

svn:r937

16 years agoOn win32, errno is not the last socket error. Worse, WSAGetLastError() is not the...
Nick Mathewson [Fri, 5 Sep 2008 16:29:56 +0000 (16:29 +0000)]
On win32, errno is not the last socket error.  Worse, WSAGetLastError() is not the last socket error sometimes (i.e., EWOULDBLOCK).  Also, strerror() does not handle winsock errors. Therefore, event_err() and event_warn() are completely wrong for windows socket errors.  Fix that.

svn:r936

16 years agoMatch the query in DNS replies to the query in the request; from Vsevolod Stakhov
Niels Provos [Sat, 30 Aug 2008 23:19:49 +0000 (23:19 +0000)]
Match the query in DNS replies to the query in the request; from Vsevolod Stakhov

svn:r930

16 years agoFix a bug where headers arriving in multiple packets were not parsed; fix from Jiang...
Niels Provos [Tue, 19 Aug 2008 11:26:47 +0000 (11:26 +0000)]
Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.

svn:r928

16 years agodo not warn on accept when errno is egain|eintr
Niels Provos [Fri, 25 Jul 2008 05:22:28 +0000 (05:22 +0000)]
do not warn on accept when errno is egain|eintr

svn:r925

16 years agomake event_add not change any state if it fails; repoted by Ian Bell
Niels Provos [Fri, 25 Jul 2008 01:29:54 +0000 (01:29 +0000)]
make event_add not change any state if it fails; repoted by Ian Bell

svn:r923

16 years agofix off by one errors in devpoll; from Ian Bell
Niels Provos [Fri, 25 Jul 2008 01:18:40 +0000 (01:18 +0000)]
fix off by one errors in devpoll; from Ian Bell

svn:r921

16 years agoanother fix; we also need to remove the signal event from the queue
Niels Provos [Fri, 25 Jul 2008 00:48:30 +0000 (00:48 +0000)]
another fix; we also need to remove the signal event from the queue

svn:r918

16 years agofix a problem with epoll and event_reinit; reported by Alexander Drozdov
Niels Provos [Fri, 25 Jul 2008 00:19:15 +0000 (00:19 +0000)]
fix a problem with epoll and event_reinit; reported by Alexander Drozdov

svn:r917

16 years agoadd a signal and free the base for reinit test
Niels Provos [Sun, 20 Jul 2008 23:31:28 +0000 (23:31 +0000)]
add a signal and free the base for reinit test

svn:r915

16 years agorestore signal handlers correctly when we deallocate the signal base
Niels Provos [Sat, 19 Jul 2008 23:35:29 +0000 (23:35 +0000)]
restore signal handlers correctly when we deallocate the signal base

svn:r913

16 years agoif we change the timeouts on bufferevents, we might have to readd pending events
Niels Provos [Thu, 17 Jul 2008 14:09:07 +0000 (14:09 +0000)]
if we change the timeouts on bufferevents, we might have to readd pending events

svn:r911

16 years agosupport setting of AA or RD in dns server response
Niels Provos [Wed, 16 Jul 2008 03:47:47 +0000 (03:47 +0000)]
support setting of AA or RD in dns server response

svn:r910

16 years agofix cname replies
Niels Provos [Sun, 13 Jul 2008 20:18:41 +0000 (20:18 +0000)]
fix cname replies

svn:r907

16 years agoforgot to add Alexander Drozdov as bug reporter in ChangeLog
Niels Provos [Fri, 11 Jul 2008 16:11:16 +0000 (16:11 +0000)]
forgot to add Alexander Drozdov as bug reporter in ChangeLog

svn:r905

16 years agoassert(a & b) -> assert(a && b)
Niels Provos [Fri, 11 Jul 2008 16:04:07 +0000 (16:04 +0000)]
assert(a & b) -> assert(a && b)

svn:r903

16 years agosupport multiple events listening on the same signal; make signals regular events...
Niels Provos [Fri, 11 Jul 2008 15:49:04 +0000 (15:49 +0000)]
support multiple events listening on the same signal; make signals regular events that go on the same event queue

svn:r901

16 years agofix a bug where deleting signals with kqueue would delete subsequent adds
Niels Provos [Fri, 11 Jul 2008 15:15:04 +0000 (15:15 +0000)]
fix a bug where deleting signals with kqueue would delete subsequent adds

svn:r899

16 years agoFrom Scott Lamb:
Niels Provos [Wed, 2 Jul 2008 06:08:16 +0000 (06:08 +0000)]
From Scott Lamb:
* Allow the user to set the Content-Length: then stream a reply.
  This is useful for large requests of a known size. Added unit test.

* Don't send a response body on HEAD requests, 1xx status codes, 204
  status codes, or 304 status codes, as described in RFC 2616 section
  4.3. (Doing otherwise causes problems - in particular, if a 304 has a
  chunked body (even an empty one), Safari 3.1.1 issues and then fails
  the next request on the connection with the non-sequitur error message
  "Too many HTTP redirects"!)

* Specify a default Content-Type: when a response body is required, not
  when we have data in the response buffer by the time we make the
  header. (I.e., do this on evhttp_send_reply_start() for consistency.)

* Don't expect a body in response to HEAD requests.

svn:r898

16 years agodetect CLOCK_MONOTONIC at runtime for evdns
Niels Provos [Wed, 2 Jul 2008 04:39:09 +0000 (04:39 +0000)]
detect CLOCK_MONOTONIC at runtime for evdns

svn:r896

16 years agoreject negative content-length headers
Niels Provos [Wed, 2 Jul 2008 04:22:48 +0000 (04:22 +0000)]
reject negative content-length headers

svn:r894

16 years agosupport multi-line http headers; based on a patch from Moshe Litvin
Niels Provos [Sun, 29 Jun 2008 01:30:06 +0000 (01:30 +0000)]
support multi-line http headers; based on a patch from Moshe Litvin

svn:r890

16 years agocorrect handling of trailing headers in chunked replies; from Scott Lamb.
Niels Provos [Thu, 26 Jun 2008 00:40:57 +0000 (00:40 +0000)]
correct handling of trailing headers in chunked replies; from Scott Lamb.

svn:r887

16 years agochange min_heap_idx to signed
Niels Provos [Wed, 25 Jun 2008 16:32:47 +0000 (16:32 +0000)]
change min_heap_idx to signed

svn:r883

16 years agofix a bug in which nameservers would not be added to the correct base in windows.
Niels Provos [Wed, 25 Jun 2008 14:56:35 +0000 (14:56 +0000)]
fix a bug in which nameservers would not be added to the correct base in windows.

svn:r873

16 years agoproper library dependencies for regress.
Niels Provos [Wed, 25 Jun 2008 01:01:11 +0000 (01:01 +0000)]
proper library dependencies for regress.

svn:r872

16 years agoadd a visual studio 2005 solution
Niels Provos [Wed, 25 Jun 2008 01:00:29 +0000 (01:00 +0000)]
add a visual studio 2005 solution

svn:r871

16 years agoadd log.h header file
Niels Provos [Wed, 25 Jun 2008 00:59:21 +0000 (00:59 +0000)]
add log.h header file

svn:r870

16 years agoskip connection-retry test on windows
Niels Provos [Wed, 25 Jun 2008 00:58:08 +0000 (00:58 +0000)]
skip connection-retry test on windows

svn:r869

16 years agovoid function should not return a value
Niels Provos [Wed, 25 Jun 2008 00:34:24 +0000 (00:34 +0000)]
void function should not return a value

svn:r868

16 years agoclose fd if evhttp_get_requestion_connection fails
Niels Provos [Tue, 24 Jun 2008 23:37:37 +0000 (23:37 +0000)]
close fd if evhttp_get_requestion_connection fails

svn:r867

16 years agofix build on unix side
Niels Provos [Tue, 24 Jun 2008 22:43:19 +0000 (22:43 +0000)]
fix build on unix side

svn:r866

16 years agoadd an event_debug statement for executing active events.
Niels Provos [Tue, 24 Jun 2008 22:41:43 +0000 (22:41 +0000)]
add an event_debug statement for executing active events.

svn:r865

16 years agoprovide fake_getnameinfo so that the http layer works under windows.
Niels Provos [Tue, 24 Jun 2008 22:38:37 +0000 (22:38 +0000)]
provide fake_getnameinfo so that the http layer works under windows.

svn:r864

16 years agofix a bug in http_connect for windows; the address was not copied correctly.
Niels Provos [Tue, 24 Jun 2008 21:01:44 +0000 (21:01 +0000)]
fix a bug in http_connect for windows; the address was not copied correctly.

svn:r863

16 years agoifdef out a whole bunch of sections; gettimeofday to evutil_gettimeofday
Niels Provos [Tue, 24 Jun 2008 18:04:41 +0000 (18:04 +0000)]
ifdef out a whole bunch of sections; gettimeofday to evutil_gettimeofday

svn:r862

16 years agoclose -> EVUTIL_CLOSESOCKET()
Niels Provos [Tue, 24 Jun 2008 16:39:45 +0000 (16:39 +0000)]
close -> EVUTIL_CLOSESOCKET()
gettimeofday -> evutil_gettimeofday()

svn:r861

16 years agofix evutil_snprintf on windows
Niels Provos [Tue, 24 Jun 2008 16:29:02 +0000 (16:29 +0000)]
fix evutil_snprintf on windows

svn:r860

16 years agochange write to send for windows.
Niels Provos [Tue, 24 Jun 2008 15:29:41 +0000 (15:29 +0000)]
change write to send for windows.

svn:r859

16 years agomake it work with older versions of automake; from Scott Lamb
Niels Provos [Sun, 22 Jun 2008 16:00:48 +0000 (16:00 +0000)]
make it work with older versions of automake; from Scott Lamb

svn:r858

16 years agoreintroduce a memmove when there is enough misalignment to hold the new data; otherwi...
Niels Provos [Sat, 21 Jun 2008 06:10:10 +0000 (06:10 +0000)]
reintroduce a memmove when there is enough misalignment to hold the new data; otherwise the size of the buffer may grow without bounds

svn:r857

16 years agosupport 64-bit integers in rpc structs
Niels Provos [Sat, 21 Jun 2008 02:21:25 +0000 (02:21 +0000)]
support 64-bit integers in rpc structs

svn:r856

16 years agodo not use SO_REUSEADDR when connecting
Niels Provos [Fri, 20 Jun 2008 06:52:13 +0000 (06:52 +0000)]
do not use SO_REUSEADDR when connecting

svn:r854

16 years agowarn on connection failures
Niels Provos [Tue, 17 Jun 2008 01:14:58 +0000 (01:14 +0000)]
warn on connection failures

svn:r853

16 years agoForward-port: Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT, but keep...
Nick Mathewson [Sat, 14 Jun 2008 17:50:36 +0000 (17:50 +0000)]
Forward-port:  Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT, but keep the INPUT/OUTPUT aliases on non-win32 platforms to maintain backwards compatibility.

svn:r852

16 years agoallow min_heap_erase to be called on removed members; from liusifan
Niels Provos [Thu, 12 Jun 2008 14:43:35 +0000 (14:43 +0000)]
allow min_heap_erase to be called on removed members; from liusifan

svn:r849

16 years agoFix line ending style on windows projects files.
Nick Mathewson [Mon, 2 Jun 2008 18:35:02 +0000 (18:35 +0000)]
Fix line ending style on windows projects files.

svn:r847

16 years agodeliver partial data to request callbacks when chunked callback is set even if there...
Niels Provos [Mon, 2 Jun 2008 05:45:26 +0000 (05:45 +0000)]
deliver partial data to request callbacks when chunked callback is set even if there is no chunking on the http level; allows cancelation of requests from within the chunked callback; from Scott Lamb.

svn:r846

16 years agofix an evbuffer corruption when adding an empty evbuffer; from Scott Lamb
Niels Provos [Sun, 1 Jun 2008 16:21:24 +0000 (16:21 +0000)]
fix an evbuffer corruption when adding an empty evbuffer; from Scott Lamb

svn:r845

16 years agodo not define a variable in a header file; it will lead to duplicate symbols when...
Niels Provos [Sun, 1 Jun 2008 01:19:08 +0000 (01:19 +0000)]
do not define a variable in a header file; it will lead to duplicate symbols when linking

svn:r844

16 years agowe need to declare the enum first before it can be used; c++ compilation errors
Niels Provos [Sat, 31 May 2008 18:57:21 +0000 (18:57 +0000)]
we need to declare the enum first before it can be used; c++ compilation errors

svn:r843

16 years agoAdd new functions to access backends by their features and to query the features...
Nick Mathewson [Sat, 31 May 2008 14:37:31 +0000 (14:37 +0000)]
Add new functions to access backends by their features and to query the features of a backend.

svn:r842

16 years agoOops; add regress_et.c
Nick Mathewson [Fri, 30 May 2008 17:35:20 +0000 (17:35 +0000)]
Oops; add regress_et.c

svn:r841

16 years agoPatch from Valery Kholodkov: support for edge-triggered events with epoll and kqueue...
Nick Mathewson [Fri, 30 May 2008 16:56:34 +0000 (16:56 +0000)]
Patch from Valery Kholodkov: support for edge-triggered events with epoll and kqueue.  Changed from original patch: made test into a regression test, with explicit success/failure for edge-triggered and non-edge-triggered cases. Closes SF request 1968284.

svn:r840

16 years agoResolve two conflicts.
Nick Mathewson [Fri, 30 May 2008 16:19:01 +0000 (16:19 +0000)]
Resolve two conflicts.

svn:r839

16 years agosimplify handling of environment variables for disabling backends;
Niels Provos [Thu, 29 May 2008 01:39:43 +0000 (01:39 +0000)]
simplify handling of environment variables for disabling backends;
make event_get_supported_methods obey environment variables; this
fixes make verify; problem reported by Scott Lamb.

svn:r838

16 years agoconstify struct timeval *
Niels Provos [Sat, 17 May 2008 02:14:17 +0000 (02:14 +0000)]
constify struct timeval *

svn:r836