summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/client.cpp')
-rw-r--r--protocols/Xfire/src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Xfire/src/client.cpp b/protocols/Xfire/src/client.cpp
index 4e0e7d1321..024cfc16d9 100644
--- a/protocols/Xfire/src/client.cpp
+++ b/protocols/Xfire/src/client.cpp
@@ -92,7 +92,7 @@ using namespace std;
struct sockaddr_in sa;
int iLen = sizeof(sa);
getsockname(socket->m_sock, (SOCKADDR*)&sa, &iLen);
- mir_strncpy(this->localaddr,inet_ntoa(sa.sin_addr), sizeof(this->localaddr)-1);
+ strncpy(this->localaddr,inet_ntoa(sa.sin_addr), sizeof(this->localaddr)-1);
this->llocaladdr=inet_addr(this->localaddr);
packetReader->setSocket(socket);