mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
r15023@catbus: nickm | 2007-09-10 10:46:16 -0400
Add a missing begin-comment to the DNS_USE_OPENSSL_FOR_ID code in evdns.c. svn:r426
This commit is contained in:
parent
fc1211ed8a
commit
c396c767e2
@ -7,3 +7,4 @@ Changes in current version:
|
||||
o Fix a memory leak in which failed HTTP connections whould not free the request object
|
||||
o Make adding of array members in event_rpcgen more efficient, but doubling memory allocation
|
||||
o Fix a memory leak in the DNS server
|
||||
o Fix compilation when DNS_USE_OPENSSL_FOR_ID is enabled
|
||||
|
6
evdns.c
6
evdns.c
@ -1037,9 +1037,11 @@ transaction_id_pick(void) {
|
||||
if (RAND_pseudo_bytes((u8 *) &trans_id, 2) == -1) {
|
||||
/* in the case that the RAND call fails we back */
|
||||
/* down to using gettimeofday. */
|
||||
struct timeval tv;
|
||||
/*
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, NULL);
|
||||
trans_id = tv.tv_usec & 0xffff; */
|
||||
trans_id = tv.tv_usec & 0xffff;
|
||||
*/
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user