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:
parent
f4c4b42db9
commit
51ae913bfe
4 changed files with 6 additions and 6 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue