Libevent2 -     Fix a typo in a doxygen comment. Reported by äå.
Update dnscrypt-resolvers.csv

According to the OpenNIC wiki [1], the correct IPv6 address for PhilipSoutham's server is ns18.ca.us, not ns17.ca.us. The provider key was also wrong.

[1] http://wiki.opennicproject.org/Tier2
Merge pull request #150 from rob/patch-1

Update dnscrypt-resolvers.csv
Not Poly1305-AES.
High-level functions are enough
Indent
Added a DNSCrypt server in Luxembourg
Merge pull request #157 from virii/master

Added a DNSCrypt server in Luxembourg
Sort resolvers list
Update dnscrypt-resolvers.csv.sig
Add the cypherpunk.lu server
iOS: add -miphoneos-version-min
Don't use -fwrapv if it's redundant.
Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy

* 'master' of github.com:jedisct1/dnscrypt-proxy:
  iOS: add -miphoneos-version-min
  Add the cypherpunk.lu server
  Update dnscrypt-resolvers.csv.sig
  Sort resolvers list
  Added a DNSCrypt server in Luxembourg
  Indent
  High-level functions are enough
  Not Poly1305-AES.
Add socket activation to dnscrypt-proxy.

Conditional systemd support for socket activation and startup and shutdown
notification.
Move READY notify to when listeners start.
Add documentation about systemd integration.
Merge pull request #165 from zedinosaur/systemd

Add socket activation to dnscrypt-proxy.
Sodium 0.5.0 is the bare minimum.
libevent2: Fix race caused by event_active
There is a race between manual event_active and natural event activation.

If both happen at the same time on the same FD, they would both be protected by the same event base lock except for 1 LoC where the fields of struct event are read without any kind of lock.

This commit does those reads into local variables inside the lock and then invokes the callback with those local arguments outside the lock.

In 2.0-stable, none of this is inside the lock; in HEAD, only the callback is read inside the lock. This gets the callback and all 3 arguments inside the lock before calling it outside the lock.