Skip to content

Commit

Permalink
Fix build failure when using WITH_ADNS=yes
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Feb 8, 2019
1 parent ff36baa commit 9378016
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog.txt
@@ -1,3 +1,10 @@
1.5.7 - 201902xx
================

Broker:
- Fix build failure when using WITH_ADNS=yes


1.5.6 - 20190206
================

Expand Down
2 changes: 1 addition & 1 deletion src/bridge.c
Expand Up @@ -228,7 +228,7 @@ int bridge__connect_step3(struct mosquitto_db *db, struct mosquitto *context)
{
int rc;

rc = net__socket_connect_step3(context, context->bridge->addresses[context->bridge->cur_address].address, context->bridge->addresses[context->bridge->cur_address].port, NULL, false);
rc = net__socket_connect_step3(context, context->bridge->addresses[context->bridge->cur_address].address);
if(rc > 0){
if(rc == MOSQ_ERR_TLS){
net__socket_close(db, context);
Expand Down

0 comments on commit 9378016

Please sign in to comment.