From 78aa94f0050112f6e456bc3acd6435c7079ab08e Mon Sep 17 00:00:00 2001 From: suwatchai Date: Tue, 7 Jun 2022 14:06:10 +0700 Subject: [PATCH] Fixed compilation error. --- src/ESP_Mail_IMAP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ESP_Mail_IMAP.h b/src/ESP_Mail_IMAP.h index 99a9cb20..454c7f2f 100644 --- a/src/ESP_Mail_IMAP.h +++ b/src/ESP_Mail_IMAP.h @@ -4181,7 +4181,7 @@ bool IMAPSession::connect(bool &ssl) bool secureMode = true; #if defined(ESP32) && defined(ESP32_TCP_CLIENT) - if (_debug && !imap->_customCmdResCallback) + if (_debug && !_customCmdResCallback) client.setDebugCallback(esp_mail_debug); #elif defined(ESP8266) && defined(ESP8266_TCP_CLIENT) client.txBufDivider = 16; // minimum, tx buffer size for ssl data and request command data