Commit b1c795007fd6db4655a66ee2dfb306803a43fc1e

Nick Mathewson 2010-04-23T14:42:25

Make evdns logging threadsafe The old logging code was littered with places where we stored messages in static char[] fields. This is fine in a single-threaded program, but if you ever tried to log evdns messages from two threads at once, you'd hit a race. This patch also refactors evdns's debug_ntop function into a more useful evutil_sockaddr_port_format() function, with unit tests.