From 85bd008c039eb1d93894e94fba9d158a42a71a12 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 13:33:42 +0000 Subject: massive code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/xfireparse.cpp | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'protocols/Xfire/src/xfireparse.cpp') diff --git a/protocols/Xfire/src/xfireparse.cpp b/protocols/Xfire/src/xfireparse.cpp index 382901f853..1d49eb0f34 100644 --- a/protocols/Xfire/src/xfireparse.cpp +++ b/protocols/Xfire/src/xfireparse.cpp @@ -23,27 +23,12 @@ #include "stdafx.h" #include "xfireparse.h" -namespace xfirelib { using namespace std; -XFireParse::XFireParse() { -} - - -/*void XFireParse::readVariableAttribut( char *value, char *packet, char *attr,int packet_length,int attr_length, int start,int max_length ) { -int length_index = findString2(packet,attr, packet_length,mir_strlen(attr),start)+attr_length+1; - - unsigned int length = xfire_hex_to_intC(packet[length_index]); - - if (max_length >= length){ - memcpy(value,packet+length_index+2,length); +namespace xfirelib +{ + XFireParse::XFireParse() + { } - if (max_length > length){ - memset(value+length,0,1); - } - return length_index+2+length; -}*/ - - }; -- cgit v1.2.3