9 |
|
Rss::Rss(const Buddy& buddy, const std::vector<AwayMessage>& messages, const |
10 |
|
Stamp& stamp) |
11 |
|
{ |
12 |
< |
api::FileOutputStream fout(buddy.getRss() != "-" ? buddy.getRss() : |
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() : |
15 |
|
"/dev/null"); |
16 |
+ |
/* api::FileOutputStream fout(buddy.getRss() != "-" ? buddy.getRss() : |
17 |
+ |
"/dev/null");*/ |
18 |
|
xml::TextWriter rss(buddy.getRss() != "-" ? fout : api::Cout.GetStream()); |
19 |
|
xml::ScopeElement root(rss, "rss"); |
20 |
|
|