Kaydet (Commit) 8dcdd792 authored tarafından Michael Stahl's avatar Michael Stahl

desktop: fix infinite loop with --enable-breakpad

Change-Id: I81a0405edc29fa7205d00a5cb920b2d0e800602e
üst 8980196f
......@@ -1029,7 +1029,7 @@ bool crashReportInfoExists()
#if HAVE_FEATURE_BREAKPAD
std::string path = CrashReporter::getIniFileName();
std::ifstream aFile(path);
while (!aFile.eof())
while (aFile.good())
{
std::string line;
std::getline(aFile, line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment