diff options
Diffstat (limited to 'protocols/ICQCorp/src/transfer.cpp')
-rw-r--r-- | protocols/ICQCorp/src/transfer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/ICQCorp/src/transfer.cpp b/protocols/ICQCorp/src/transfer.cpp index eb1a8dbf7b..a16369bd67 100644 --- a/protocols/ICQCorp/src/transfer.cpp +++ b/protocols/ICQCorp/src/transfer.cpp @@ -110,7 +110,7 @@ void ICQTransfer::processTcpPacket(Packet &packet) if (directoryName[0])
{
- char *fullName = new char[strlen(directoryName) + strlen(files[current]) + 2];
+ char *fullName = new char[mir_strlen(directoryName) + mir_strlen(files[current]) + 2];
sprintf(fullName, "%s\\%s", directoryName, files[current]);
delete [] files[current];
files[current] = fullName;
@@ -234,7 +234,7 @@ void ICQTransfer::sendPacket0x02() packet << (unsigned char)0x02
<< directory
<< (strrchr(fileName, '\\') + 1)
- << (directoryName + strlen(path) + 1)
+ << (directoryName + mir_strlen(path) + 1)
<< fileSize
<< fileDate
<< speed;
@@ -396,7 +396,7 @@ void ICQTransfer::resume(int action, const char *newName) case FILERESUME_RENAME:
T("[ ] rename file\n");
delete [] fileName;
- fileName = new char[strlen(newName) + 1];
+ fileName = new char[mir_strlen(newName) + 1];
strcpy(fileName, newName);
files[current] = fileName;
|