Correct close() function when building with MSVC
authorKirill Isakov <bootctl@gmail.com>
Sat, 2 Apr 2022 11:41:50 +0000 (17:41 +0600)
committerKirill Isakov <bootctl@gmail.com>
Sun, 10 Apr 2022 07:14:26 +0000 (13:14 +0600)
commitb9a7444b9fa216d16d91f34d2e12f51fc4d60e46
treee98ce7e6ba0cf7d25a3129d983414bbbb897b116
parentccbe79c03b8c64432bbf1ce82dc0e123cc02bd6d
Correct close() function when building with MSVC

The original close() was throwing assertion errors from inside the
Windows libraries because we were trying to close OS handles as file
descriptors.
src/dropin.h
src/net_packet.c
src/net_setup.c
src/route.c
src/tincctl.c