--- parser3/src/classes/inet.C 2021/11/05 21:42:07 1.17 +++ parser3/src/classes/inet.C 2024/12/23 16:59:17 1.20 @@ -1,8 +1,8 @@ /** @file Parser: @b inet parser class. - Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #include "pa_vmethod_frame.h" @@ -14,7 +14,7 @@ #include "ws2tcpip.h" #endif -volatile const char * IDENT_INET_C="$Id: inet.C,v 1.17 2021/11/05 21:42:07 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))