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