projects
/
biaweb2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0b757f
)
Minor Fix: Fixed bug for MAX_RSS_FEED
author
Harishankar
<v.harishankar@gmail.com>
Tue, 26 May 2020 06:19:46 +0000
(11:49 +0530)
committer
Harishankar
<v.harishankar@gmail.com>
Tue, 26 May 2020 06:19:46 +0000
(11:49 +0530)
Fixed small bug in MAX_RSS_FEED - fixed the comparison operator
to < from <=
biawebdocumenttree.hpp
patch
|
blob
|
history
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
- 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);