summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-07-26 21:03:16 +0000
committerschwarze <schwarze@openbsd.org>2019-07-26 21:03:16 +0000
commitd8e30e1d911a61fa6fe176390ee4cad5990f3263 (patch)
tree8f707938996bdfec44023ed783a639bda36b86eb /lib
parentChange "lost server" message to "server exited unexpectedly", from Neal (diff)
downloadwireguard-openbsd-d8e30e1d911a61fa6fe176390ee4cad5990f3263.tar.xz
wireguard-openbsd-d8e30e1d911a61fa6fe176390ee4cad5990f3263.zip
Structural cleanup, no functional change:
Mixing parser and formatter state in the same struct was a bad idea, so pull the parser state and configuration out of it. This makes sure output options are not passed into parser functions and parser options are not passed into output functions. While here, add comments to the important local variables in main().
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions