1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Fixed wrong function name in Debug message

This commit is contained in:
Nick 2019-02-15 20:41:16 -05:00 committed by GitHub
parent c1243c5198
commit 23b8161ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12212,7 +12212,7 @@ UINT SecureSend(SOCK *sock, void *data, UINT size)
if (sock->Connected == false) if (sock->Connected == false)
{ {
Unlock(sock->ssl_lock); Unlock(sock->ssl_lock);
Debug("%s %u SecureRecv() Disconnect\n", __FILE__, __LINE__); Debug("%s %u SecureSend() Disconnect\n", __FILE__, __LINE__);
return 0; return 0;
} }
@ -12242,7 +12242,7 @@ UINT SecureSend(SOCK *sock, void *data, UINT size)
if (ret == 0) if (ret == 0)
{ {
// Disconnect // Disconnect
Debug("%s %u SecureRecv() Disconnect\n", __FILE__, __LINE__); Debug("%s %u SecureSend() Disconnect\n", __FILE__, __LINE__);
Disconnect(sock); Disconnect(sock);
return 0; return 0;
} }
@ -12257,7 +12257,7 @@ UINT SecureSend(SOCK *sock, void *data, UINT size)
} }
Debug("%s %u e=%u\n", __FILE__, __LINE__, e); Debug("%s %u e=%u\n", __FILE__, __LINE__, e);
} }
//Debug("%s %u SecureRecv() Disconnect\n", __FILE__, __LINE__); //Debug("%s %u SecureSend() Disconnect\n", __FILE__, __LINE__);
Disconnect(sock); Disconnect(sock);
return 0; return 0;
} }