Fix Windows compile error

This commit is contained in:
badaix 2025-01-24 23:36:51 +01:00
parent 442b154fbf
commit b0463fdd0c
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ jobs:
mkdir -p build/doxygen
doxygen 2>&1 | tee build/doxygen.log
WARNINGS=$(cat build/doxygen.log | sort | uniq | grep -e ": warning: " | wc -l)
MAX_ALLOWED=724
MAX_ALLOWED=693
echo "Doxygen finished with $WARNINGS warnings, max allowed: $MAX_ALLOWED"
if [ "$WARNINGS" -gt "$MAX_ALLOWED" ]; then exit $WARNINGS; else exit 0; fi;

View file

@ -529,7 +529,7 @@ std::string ClientConnectionWss::getMacAddress()
#ifndef WINDOWS
::getMacAddress(ssl_ws_.next_layer().lowest_layer().native_handle());
#else
::getMacAddress(tcp_ws_.next_layer().lowest_layer().local_endpoint().address().to_string());
::getMacAddress(ssl_ws_.next_layer().lowest_layer().local_endpoint().address().to_string());
#endif
if (mac.empty())
mac = "00:00:00:00:00:00";