diff options
author | 2011-11-16 11:18:54 +0000 | |
---|---|---|
committer | 2011-11-16 11:18:54 +0000 | |
commit | d44f36d13f76245bc147eb3fe330e07eba5bbfb0 (patch) | |
tree | 1d5f970ae2ddc2ece36d7e6f105544680c445b17 /lib | |
parent | fix obvious variable substitution mistake (diff) | |
download | wireguard-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