1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

Merge PR #875: Fixed wrong function name in Debug message

This commit is contained in:
Davide Beatrici 2019-02-16 03:04:07 +01:00 committed by GitHub
commit d7941be664
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;
} }