diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-02-29 16:30:48 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-29 16:31:15 +0100 |
commit | 8dcdd792528f2695e770e536ea3244420cdf3731 (patch) | |
tree | e20d7f45be1939a846487eac0c724aa2c8aafc71 /desktop | |
parent | 8980196fb65a7cb3d0f1f635bfc7645eb3982b81 (diff) |
desktop: fix infinite loop with --enable-breakpad
Change-Id: I81a0405edc29fa7205d00a5cb920b2d0e800602e
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 3d0435b43b07..2b4782c023ef 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -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); |