Browse Source

Match indentation style

miguelfreitas
Anomaly UK 9 years ago
parent
commit
d048d86300
  1. 7
      src/twister_rss.cpp

7
src/twister_rss.cpp

@ -68,7 +68,8 @@ int generateRSS(string uri, string *output)
Array followingArray = getfollowing(params1,false).get_array(); Array followingArray = getfollowing(params1,false).get_array();
Array postSources; Array postSources;
if(author=="") { if(author=="")
{
// default fetch posts from all followed authors // default fetch posts from all followed authors
for(int i=0;i<followingArray.size();i++) for(int i=0;i<followingArray.size();i++)
{ {
@ -76,7 +77,9 @@ int generateRSS(string uri, string *output)
item.push_back(Pair("username",followingArray[i])); item.push_back(Pair("username",followingArray[i]));
postSources.push_back(item); postSources.push_back(item);
} }
} else { }
else
{
// a single author has been specified to fetch posts from // a single author has been specified to fetch posts from
Object item; Object item;
item.push_back(Pair("username",author)); item.push_back(Pair("username",author));

Loading…
Cancel
Save