summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/xfireutils.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
commit5a17c9299e03bebf46169927abdeee34aaf8e854 (patch)
treecbd13080f33ac0b6396b9d3b8ba31a3c98de59f8 /protocols/Xfire/src/xfireutils.cpp
parented64312924e77707e7e5b5965c301692519f293a (diff)
replace strlen to mir_strlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/xfireutils.cpp')
-rw-r--r--protocols/Xfire/src/xfireutils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Xfire/src/xfireutils.cpp b/protocols/Xfire/src/xfireutils.cpp
index 5df7ba314b..93793c72e7 100644
--- a/protocols/Xfire/src/xfireutils.cpp
+++ b/protocols/Xfire/src/xfireutils.cpp
@@ -36,9 +36,9 @@ using namespace std;
}
int XFireUtils::addAttributName(char *packet,int packet_length, char *att){
- XDEBUG3( "Adding %d chars at position %d\n",strlen(att),packet_length);
- packet[packet_length] = (char)strlen(att);//set att length
- memcpy(packet+packet_length+1,att,strlen(att)); //set attname
- return packet_length+1+strlen(att);
+ XDEBUG3( "Adding %d chars at position %d\n",mir_strlen(att),packet_length);
+ packet[packet_length] = (char)mir_strlen(att);//set att length
+ memcpy(packet+packet_length+1,att,mir_strlen(att)); //set attname
+ return packet_length+1+mir_strlen(att);
}
};