Skip to content

Commit 38f1c42

Browse files
committed
session client UPDATE minor improvements
1 parent 4b9e5cb commit 38f1c42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/session_client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,8 @@ nc_saddr2str(const struct sockaddr *saddr, char **str_ip, uint16_t *port)
16061606
/**
16071607
* @brief Try to connect a socket, optionally a pending one from a previous attempt.
16081608
*
1609+
* @param[in] src_addr Specific source address to bind to, used only for CH.
1610+
* @param[in] src_port Specific source port to bind to, used only for CH.
16091611
* @param[in] timeout_ms Timeout in ms to wait for the connection to be fully established, -1 to block.
16101612
* @param[in,out] sock_pending Optional previously created socked that was not fully connected yet. If provided and
16111613
* connected, is set to -1.
@@ -1737,8 +1739,6 @@ nc_sock_connect(const char *src_addr, uint16_t src_port, const char *dst_addr, u
17371739

17381740
*ip_host = NULL;
17391741

1740-
DBG(NULL, "nc_sock_connect(%s, %u, %s, %u, %d, %d)", src_addr, src_port, dst_addr, dst_port, timeout_ms, sock);
1741-
17421742
/* no pending socket */
17431743
if (sock == -1) {
17441744
/* connect to a server */

0 commit comments

Comments
 (0)