Skip to content

Commit

Permalink
session client UPDATE minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Oct 31, 2024
1 parent 4b9e5cb commit 38f1c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/session_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,6 +1606,8 @@ nc_saddr2str(const struct sockaddr *saddr, char **str_ip, uint16_t *port)
/**
* @brief Try to connect a socket, optionally a pending one from a previous attempt.
*
* @param[in] src_addr Specific source address to bind to, used only for CH.
* @param[in] src_port Specific source port to bind to, used only for CH.
* @param[in] timeout_ms Timeout in ms to wait for the connection to be fully established, -1 to block.
* @param[in,out] sock_pending Optional previously created socked that was not fully connected yet. If provided and
* connected, is set to -1.
Expand Down Expand Up @@ -1737,8 +1739,6 @@ nc_sock_connect(const char *src_addr, uint16_t src_port, const char *dst_addr, u

*ip_host = NULL;

DBG(NULL, "nc_sock_connect(%s, %u, %s, %u, %d, %d)", src_addr, src_port, dst_addr, dst_port, timeout_ms, sock);

/* no pending socket */
if (sock == -1) {
/* connect to a server */
Expand Down

0 comments on commit 38f1c42

Please sign in to comment.