Skip to content

Commit

Permalink
Fix build for WITH_SOCKS=no.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Jun 13, 2019
1 parent 5d64678 commit af7760f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
{
Expand All @@ -1446,4 +1447,3 @@ void err_printf(const struct mosq_config *cfg, const char *fmt, ...)
va_end(va);
}

#endif

0 comments on commit af7760f

Please sign in to comment.