projects
/
biaweb2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor Fix: Fixed bug for MAX_RSS_FEED
[biaweb2.git]
/
biawebdocumenttree.hpp
diff --git
a/biawebdocumenttree.hpp
b/biawebdocumenttree.hpp
index
eeb8b15
..
a9f1ccd
100644
(file)
--- a/
biawebdocumenttree.hpp
+++ b/
biawebdocumenttree.hpp
@@
-246,7
+246,7
@@
namespace biaweb {
urlpath + doc.get_filename() + ".html",
doc.get_creation_date());
// If the items don't exceed max size of RSS feed
urlpath + doc.get_filename() + ".html",
doc.get_creation_date());
// If the items don't exceed max size of RSS feed
- if (feed.get()->get_num_items() <
=
MAX_RSS_FEED)
+ if (feed.get()->get_num_items() < MAX_RSS_FEED)
feed.get()->add_rss_item (fitem);
// Add the document details to the document list
DocListItem item (&doc, urlpath);
feed.get()->add_rss_item (fitem);
// Add the document details to the document list
DocListItem item (&doc, urlpath);