1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibIMAP: Stop leaking a Core::Promise<bool> in IMAP::Client::connect()

This commit is contained in:
Andreas Kling 2021-09-01 22:56:31 +02:00
parent f4c4b42db9
commit 51ae913bfe
4 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ int main(int argc, char** argv)
Core::EventLoop loop;
auto client = IMAP::Client(host, port, tls);
client.connect().value()->await();
client.connect()->await();
auto response = client.login(username, password)->await().release_value();
outln("[LOGIN] Login response: {}", response.response_text());