summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2011-11-16 11:18:54 +0000
committereric <eric@openbsd.org>2011-11-16 11:18:54 +0000
commitd44f36d13f76245bc147eb3fe330e07eba5bbfb0 (patch)
tree1d5f970ae2ddc2ece36d7e6f105544680c445b17 /lib
parentfix obvious variable substitution mistake (diff)
downloadwireguard-openbsd-d44f36d13f76245bc147eb3fe330e07eba5bbfb0.tar.xz
wireguard-openbsd-d44f36d13f76245bc147eb3fe330e07eba5bbfb0.zip
Do not unlink an offline message until it has been correctly enqueued.
While there, simplify the offline_enqueue() function by doing all the sanity checks in the forked process, and remove all fatal(): on error, the offline message is left untouched in the directory. Also, get rid of the path_starts_with() check since all paths to offline messages are now constructed internally. ok gilles@ chl@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions