ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/WinXPFAQPoll/Poller.cpp
(Generate patch)

Comparing trunk/WinXPFAQPoll/Poller.cpp (file contents):
Revision 104 by douglas, 2003-03-31T20:18:26-08:00 vs.
Revision 118 by douglas, 2003-04-01T13:41:03-08:00

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines