--- parser3/src/classes/inet.C 2023/09/26 20:49:06 1.18 +++ parser3/src/classes/inet.C 2024/12/23 16:59:17 1.20 @@ -1,7 +1,7 @@ /** @file Parser: @b inet parser class. - Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://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.20 2024/12/23 16:59:17 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))