diff options
Diffstat (limited to 'plugins/YAMN/src/proto/netlib.cpp')
-rw-r--r-- | plugins/YAMN/src/proto/netlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/proto/netlib.cpp b/plugins/YAMN/src/proto/netlib.cpp index e9a1f61dd9..0e1e9ab5a5 100644 --- a/plugins/YAMN/src/proto/netlib.cpp +++ b/plugins/YAMN/src/proto/netlib.cpp @@ -215,7 +215,7 @@ char* CNLClient::Recv(char *buf,int buflen) throw(DWORD) }
}
- ZeroMemory(buf,buflen);
+ memset(buf, 0, buflen);
if (SOCKET_ERROR==(Rcv=LocalNetlib_Recv(hConnection,buf,buflen,MSG_DUMPASTEXT)))
{
free(buf);
|