summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/proto/netlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/proto/netlib.cpp')
-rw-r--r--plugins/YAMN/src/proto/netlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/proto/netlib.cpp b/plugins/YAMN/src/proto/netlib.cpp
index 0e1e9ab5a5..7f24b0a5db 100644
--- a/plugins/YAMN/src/proto/netlib.cpp
+++ b/plugins/YAMN/src/proto/netlib.cpp
@@ -146,7 +146,7 @@ void CNLClient::Send(const char *query) throw(DWORD)
#endif
try
{
- if ((SOCKET_ERROR==(Sent=LocalNetlib_Send(hConnection,query,(int)strlen(query),MSG_DUMPASTEXT))) || Sent != (unsigned int)strlen(query))
+ if ((SOCKET_ERROR==(Sent=LocalNetlib_Send(hConnection,query,(int)mir_strlen(query),MSG_DUMPASTEXT))) || Sent != (unsigned int)mir_strlen(query))
{
SystemError=WSAGetLastError();
throw NetworkError=(DWORD)ENL_SEND;