--- parser3/src/classes/inet.C 2023/09/26 20:49:06 1.18 +++ parser3/src/classes/inet.C 2026/04/25 13:38:46 1.21 @@ -1,7 +1,7 @@ /** @file Parser: @b inet parser class. - Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ @@ -14,7 +14,7 @@ #include "ws2tcpip.h" #endif -volatile const char * IDENT_INET_C="$Id: inet.C,v 1.18 2023/09/26 20:49:06 moko Exp $"; +volatile const char * IDENT_INET_C="$Id: inet.C,v 1.21 2026/04/25 13:38:46 moko Exp $"; class MInet: public Methoded { public: @@ -190,7 +190,7 @@ static void _name2ip(Request& r, MethodP freeaddrinfo(info); } -static void _hostname(Request& r, MethodParams& params){ +static void _hostname(Request& r, MethodParams&){ char buf[MAX_STRING]; if(gethostname(buf, MAX_STRING))