Remove incorrect comment.
This commit is contained in:
parent
ecb4006f38
commit
c757cb0912
@ -636,10 +636,7 @@ int net__socket_connect_step3(struct mosquitto *mosq, const char *host, uint16_t
|
|||||||
return MOSQ_ERR_SUCCESS;
|
return MOSQ_ERR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create a socket and connect it to 'ip' on port 'port'.
|
/* Create a socket and connect it to 'ip' on port 'port'. */
|
||||||
* Returns -1 on failure (ip is NULL, socket creation/connection error)
|
|
||||||
* Returns sock number on success.
|
|
||||||
*/
|
|
||||||
int net__socket_connect(struct mosquitto *mosq, const char *host, uint16_t port, const char *bind_address, bool blocking)
|
int net__socket_connect(struct mosquitto *mosq, const char *host, uint16_t port, const char *bind_address, bool blocking)
|
||||||
{
|
{
|
||||||
mosq_sock_t sock = INVALID_SOCKET;
|
mosq_sock_t sock = INVALID_SOCKET;
|
||||||
|
Loading…
Reference in New Issue
Block a user