From ef7127e9715147094e39e27edb0143aaecff695b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Aug 2018 11:51:22 +0300 Subject: Variables: - plugin's own hash implementation replaced with the core function; - unused header dbhelpers.h removed; - code cleaning --- plugins/Variables/src/parse_inet.cpp | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'plugins/Variables/src/parse_inet.cpp') diff --git a/plugins/Variables/src/parse_inet.cpp b/plugins/Variables/src/parse_inet.cpp index 0480c52627..080932fc12 100644 --- a/plugins/Variables/src/parse_inet.cpp +++ b/plugins/Variables/src/parse_inet.cpp @@ -1,25 +1,25 @@ /* - Variables Plugin for Miranda-IM (www.miranda-im.org) - Copyright 2003-2006 P. Boon - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Variables Plugin for Miranda-IM (www.miranda-im.org) + Copyright 2003-2006 P. Boon + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "stdafx.h" -static wchar_t *parseUrlEnc(ARGUMENTSINFO *ai) +static wchar_t* parseUrlEnc(ARGUMENTSINFO *ai) { if (ai->argc != 2) return nullptr; @@ -50,7 +50,7 @@ static wchar_t *parseUrlEnc(ARGUMENTSINFO *ai) return tres; } -static wchar_t *parseUrlDec(ARGUMENTSINFO *ai) +static wchar_t* parseUrlDec(ARGUMENTSINFO *ai) { if (ai->argc != 2) return nullptr; @@ -77,7 +77,7 @@ static wchar_t *parseUrlDec(ARGUMENTSINFO *ai) return tres; } -static wchar_t *parseNToA(ARGUMENTSINFO *ai) +static wchar_t* parseNToA(ARGUMENTSINFO *ai) { if (ai->argc != 2) return nullptr; @@ -87,7 +87,7 @@ static wchar_t *parseNToA(ARGUMENTSINFO *ai) return mir_a2u(inet_ntoa(in)); } -static wchar_t *parseHToA(ARGUMENTSINFO *ai) +static wchar_t* parseHToA(ARGUMENTSINFO *ai) { if (ai->argc != 2) return nullptr; -- cgit v1.2.3