Fix socks build when using cmake.

pull/1151/head
Roger A. Light 7 years ago
parent 1c075988ca
commit 7ff9c3763b

@ -665,7 +665,7 @@ int net__socket_connect(struct mosquitto *mosq, const char *host, uint16_t port,
mosq->sock = sock;
#ifdef WITH_SOCKS
#if defined(WITH_SOCKS) && !defined(WITH_BROKER)
if(!mosq->socks5_host)
#endif
{

Loading…
Cancel
Save