[commit] r2387 - trunk/GME/XmlBackEnd
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Oct 16 09:59:52 CDT 2013
Author: ksmyth
Date: Wed Oct 16 09:59:51 2013
New Revision: 2387
Log:
GME-426 fix string comparison
Modified:
trunk/GME/XmlBackEnd/CoreXmlFile.cpp
Modified: trunk/GME/XmlBackEnd/CoreXmlFile.cpp
==============================================================================
--- trunk/GME/XmlBackEnd/CoreXmlFile.cpp Mon Oct 14 16:26:39 2013 (r2386)
+++ trunk/GME/XmlBackEnd/CoreXmlFile.cpp Wed Oct 16 09:59:51 2013 (r2387)
@@ -5113,7 +5113,7 @@
++it)
{
const char * date_last_logged_in = it->m_since.c_str();
- const char * date_last_logged_out = it->m_until.c_str();
+ const std::string &date_last_logged_out = it->m_until;
int y(-1), M(-1), d(-1), h(-1), m(-1), s(-1);
if( 6 == sscanf( date_last_logged_in, "[%u-%u-%u %u:%u:%u]", &y, &M, &d, &h, &m, &s))
{
More information about the gme-commit
mailing list