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

Comparing trunk/Rss.cpp (file contents):
Revision 28 by douglas, 2004-07-17T23:54:14-07:00 vs.
Revision 29 by douglas, 2004-07-19T00:49:34-07:00

# Line 9 | Line 9
9   Rss::Rss(const Buddy& buddy, const std::vector<AwayMessage>& messages, const
10          Stamp& stamp)
11   {
12 <        // not sure if Jay wants to fix this:
13 <        api::Posix::FileStream<api::Posix::HandleOutputStream, O_WRONLY | O_CREAT |
14 <                O_TRUNC, 0644> fout(buddy.getRss() != "-" ? buddy.getRss() :
12 >        api::FileOutputStream fout(buddy.getRss() != "-" ? buddy.getRss() :
13                  "/dev/null");
16 /*      api::FileOutputStream fout(buddy.getRss() != "-" ? buddy.getRss() :
17                "/dev/null");*/
14          xml::TextWriter rss(buddy.getRss() != "-" ? fout : api::Cout.GetStream());
15          xml::ScopeElement root(rss, "rss");
16  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines