readBytes = recv(sock, readBuffer, RECV_BUF, 0);
if (readBytes > 0)
{
- _swprintf(logBuf, L"Received %d bytes from client", readBytes);
+ swprintf(logBuf, L"Received %d bytes from client", readBytes);
LogEvent(logBuf, 0, 0, LOG_FILE);
totalSentBytes = 0;
retVal = send(sock, readBuffer + totalSentBytes, readBytes - totalSentBytes, 0);
if (retVal > 0)
{
- _swprintf(logBuf, L"Sent %d bytes back to client", retVal);
+ swprintf(logBuf, L"Sent %d bytes back to client", retVal);
LogEvent(logBuf, 0, 0, LOG_FILE);
totalSentBytes += retVal;
}