summaryrefslogtreecommitdiff
path: root/protocols/MSN
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN')
-rw-r--r--protocols/MSN/src/msn_auth.cpp4
-rw-r--r--protocols/MSN/src/msn_misc.cpp2
-rw-r--r--protocols/MSN/src/msn_p2p.cpp8
3 files changed, 7 insertions, 7 deletions
diff --git a/protocols/MSN/src/msn_auth.cpp b/protocols/MSN/src/msn_auth.cpp
index 7696a4d673..e8282c00bd 100644
--- a/protocols/MSN/src/msn_auth.cpp
+++ b/protocols/MSN/src/msn_auth.cpp
@@ -573,8 +573,8 @@ static int CopyCookies(NETLIBHTTPREQUEST *nlhrReply, NETLIBHTTPHEADER *hdr)
continue;
if (p=strchr(nlhrReply->headers[i].szValue, ';')) *p=0;
if (hdr) {
- if (*hdr->szValue) strcat (hdr->szValue, "; ");
- strcat (hdr->szValue, nlhrReply->headers[i].szValue);
+ if (*hdr->szValue) mir_strcat (hdr->szValue, "; ");
+ mir_strcat (hdr->szValue, nlhrReply->headers[i].szValue);
}
else nSize += (int)mir_strlen(nlhrReply->headers[i].szValue) + 2;
}
diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp
index 0169140612..f52e6a826e 100644
--- a/protocols/MSN/src/msn_misc.cpp
+++ b/protocols/MSN/src/msn_misc.cpp
@@ -729,7 +729,7 @@ int ThreadData::sendPacket(const char* cmd, const char* fmt, ...)
}
if (strchr(str, '\r') == NULL)
- strcat(str, "\r\n");
+ mir_strcat(str, "\r\n");
int result = send(str, mir_strlen(str));
mir_free(str);
diff --git a/protocols/MSN/src/msn_p2p.cpp b/protocols/MSN/src/msn_p2p.cpp
index 948e466fb9..fbaa187a5c 100644
--- a/protocols/MSN/src/msn_p2p.cpp
+++ b/protocols/MSN/src/msn_p2p.cpp
@@ -115,13 +115,13 @@ bool CMsnProto::p2p_createListener(filetransfer* ft, directconnection *dc, MimeH
NETLIBIPLIST* ihaddr = (NETLIBIPLIST*)CallService(MS_NETLIB_GETMYIP, 1, 0);
for (unsigned i = 0; i < ihaddr->cbNum; ++i) {
if (strchr(ihaddr->szIp[i], ':')) {
- if (i6++ != 0) strcat(szIpv6, " ");
- strcat(szIpv6, ihaddr->szIp[i]);
+ if (i6++ != 0) mir_strcat(szIpv6, " ");
+ mir_strcat(szIpv6, ihaddr->szIp[i]);
}
else {
- if (i4++ != 0) strcat(szIpv4, " ");
+ if (i4++ != 0) mir_strcat(szIpv4, " ");
ipInt |= (mir_strcmp(ihaddr->szIp[i], szExtIp) == 0);
- strcat(szIpv4, ihaddr->szIp[i]);
+ mir_strcat(szIpv4, ihaddr->szIp[i]);
}
}
mir_free(ihaddr);