Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 84c9353

Browse files
author
Me No Dev
committed
fix SSL/No-SSL versions
1 parent 1c5389b commit 84c9353

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/ESPAsyncTCP.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,10 @@ int8_t AsyncClient::_connected(void* pcb, int8_t err){
289289
}
290290
}
291291
if(!_pcb_secure && _connect_cb)
292-
#endif
292+
#else
293293
}
294294
if(_connect_cb)
295+
#endif
295296
_connect_cb(_connect_cb_arg, this);
296297
return ERR_OK;
297298
}

src/SyncClient.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#define SYNCCLIENT_H_
2424

2525
#include "Client.h"
26+
#include <async_config.h>
2627
class cbuf;
2728
class AsyncClient;
2829

src/tcp_axtls.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* Compatibility for AxTLS with LWIP raw tcp mode (http://lwip.wikia.com/wiki/Raw/TCP)
2323
* Original Code and Inspiration: Slavey Karadzhov
2424
*/
25+
#include <async_config.h>
2526
#if ASYNC_TCP_SSL_ENABLED
2627

2728
#include "lwip/opt.h"

0 commit comments

Comments
 (0)