Browse Source

2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	Corrected catched exception type.
	* src/ServerStatMan.cc
Tatsuhiro Tsujikawa 17 years ago
parent
commit
e6707208d1
2 changed files with 6 additions and 1 deletions
  1. 5 0
      ChangeLog
  2. 1 1
      src/ServerStatMan.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-11-03  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Corrected catched exception type.
+	* src/ServerStatMan.cc
+
 2008-11-03  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 	DNSCache is now part of DownloadEngine.

+ 1 - 1
src/ServerStatMan.cc

@@ -114,7 +114,7 @@ bool ServerStatMan::load(std::istream& in)
       sstat->setLastUpdated(Time(Util::parseInt(m[S_LAST_UPDATED])));
       sstat->setStatus(m[S_STATUS]);
       add(sstat);
-    } catch(RecoverableException* e) {
+    } catch(RecoverableException& e) {
       continue;
     }
   }