From af7760f1b6f401a940404953a91883fa4f303260 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 13 Jun 2019 16:23:55 +0100 Subject: [PATCH] Fix build for WITH_SOCKS=no. --- client/client_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client_shared.c b/client/client_shared.c index ede8baa1d9..7d3ba773bc 100644 --- a/client/client_shared.c +++ b/client/client_shared.c @@ -1434,6 +1434,7 @@ static int mosquitto__parse_socks_url(struct mosq_config *cfg, char *url) if(port) free(port); return 1; } +#endif void err_printf(const struct mosq_config *cfg, const char *fmt, ...) { @@ -1446,4 +1447,3 @@ void err_printf(const struct mosq_config *cfg, const char *fmt, ...) va_end(va); } -#endif