# | Line 8 | Line 8 | |
---|---|---|
8 | ||
9 | Poller::Poller() | |
10 | { | |
11 | < | // |
11 | > | string mailbox = session->list("\"\" \"" + account.getMailbox() + "\""); |
12 | > | |
13 | > | if (mailbox.find(account.getMailbox()) == string::npos) |
14 | > | { |
15 | > | cerr << program << ": Mailbox does not exist: " << account.getMailbox() |
16 | > | << "\n"; |
17 | > | |
18 | > | exit(1); |
19 | > | } |
20 | } | |
21 | ||
22 | < | void Poller::poll(bool nodelete) |
22 | > | void Poller::poll(bool nodelete, const string& file) |
23 | { | |
24 | < | // |
24 | > | this->nodelete = nodelete; |
25 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |