prinet-proxy/client: Move log message, only makes sense when socket not closed

This commit is contained in:
icex2
2021-01-23 23:46:22 +01:00
parent 1e32a1f6c0
commit 2f5c4467a0
+2 -2
View File
@@ -102,9 +102,9 @@ void pumpnet_prinet_proxy_client_connection_close(struct pumpnet_prinet_proxy_cl
pthread_mutex_lock(&connection->mutex);
log_debug("Closing remote connection: %X", connection->handle);
if (connection->handle != INVALID_SOCK_HANDLE) {
log_debug("Closing remote connection: %X", connection->handle);
util_sock_tcp_close(connection->handle);
connection->handle = INVALID_SOCK_HANDLE;