diff options
Diffstat (limited to 'src/modules/netlib/netlibssl.cpp')
-rw-r--r-- | src/modules/netlib/netlibssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/netlib/netlibssl.cpp b/src/modules/netlib/netlibssl.cpp index 456670ae8f..fa9a77028d 100644 --- a/src/modules/netlib/netlibssl.cpp +++ b/src/modules/netlib/netlibssl.cpp @@ -896,7 +896,7 @@ int NetlibSslWrite(SslHandle *ssl, const char *buf, int num) while (sendOff < (DWORD)num)
{
cbMessage = min(Sizes.cbMaximumMessage, (DWORD)num - sendOff);
- CopyMemory(pbMessage, buf+sendOff, cbMessage);
+ memcpy(pbMessage, buf+sendOff, cbMessage);
Buffers[0].pvBuffer = pbDataBuffer;
Buffers[0].cbBuffer = Sizes.cbHeader;
|