[cpp-sp COMMIT] /branches/REL_2/shibsp/handler/impl/DiscoveryFeed.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Mon Jan 19 16:04:47 EST 2015
Author: scantor
Date: Mon Jan 19 16:04:46 2015
New Revision: 3890
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3890&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-612
Modified:
branches/REL_2/shibsp/handler/impl/DiscoveryFeed.cpp
Modified: branches/REL_2/shibsp/handler/impl/DiscoveryFeed.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/handler/impl/DiscoveryFeed.cpp?rev=3890&r1=3889&r2=3890&view=diff
==============================================================================
--- branches/REL_2/shibsp/handler/impl/DiscoveryFeed.cpp (original)
+++ branches/REL_2/shibsp/handler/impl/DiscoveryFeed.cpp Mon Jan 19 16:04:46 2015
@@ -143,7 +143,7 @@
// Anything left will be orphaned, but that shouldn't happen too often.
time_t now = time(nullptr);
while (!m_feedQueue.empty() && now - m_feedQueue.front().second > 120) {
- string fname = m_dir + '/' + m_feedQueue.front().first;
+ string fname = m_dir + '/' + m_feedQueue.front().first + ".json";
remove(fname.c_str());
m_feedQueue.pop();
}
@@ -295,7 +295,7 @@
// Clean up any old files.
while (m_feedQueue.size() > 1 && (now - m_feedQueue.front().second > 120)) {
- string fname = m_dir + '/' + m_feedQueue.front().first;
+ string fname = m_dir + '/' + m_feedQueue.front().first + ".json";
remove(fname.c_str());
m_feedQueue.pop();
}
More information about the commits
mailing list