Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#4616 closed defect (fixed)

set_buffer_lengths_to_zero is unused if bufferevents is not enabled on Windows

Reported by: sjmurdoch Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords: tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


if bufferevents are not enabled, on Windows, set_buffer_lengths_to_zero is defined but unused. This causes a gcc warning (or error, if -Werror is set). The attached patch only enables set_buffer_lengths_to_zero if on Windows and bufferevents are enabled.

Applied on b5a306e82c684bdd30b832fdfd9e2b55c06b54ae

Child Tickets

Attachments (1)

patch-4616.txt (809 bytes) - added by sjmurdoch 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by sjmurdoch

Attachment: patch-4616.txt added

comment:1 Changed 9 years ago by nickm

Resolution: fixed
Status: newclosed

Applying; thanks!

comment:2 Changed 8 years ago by nickm

Keywords: tor-relay added

comment:3 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.