From 9f8e72afef099c4cb5baa78b146c5fc63d057f84 Mon Sep 17 00:00:00 2001 From: "Robert R. Schmidt" Date: Tue, 27 Sep 2016 16:41:02 -0700 Subject: [PATCH] bug 2507: ConfigStore RawTextConfigLoad doesn't reset stream error state Bug report and patch provided by Robert Schmidt on the users' list. --- src/config-store/model/raw-text-config.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config-store/model/raw-text-config.cc b/src/config-store/model/raw-text-config.cc index 8aa4b1dab..6e243d8a8 100644 --- a/src/config-store/model/raw-text-config.cc +++ b/src/config-store/model/raw-text-config.cc @@ -186,6 +186,7 @@ void RawTextConfigLoad::Attributes (void) { NS_LOG_FUNCTION (this); + m_is->clear (); m_is->seekg (0); std::string type, path, value; *m_is >> type >> path >> value;