2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Assigned BObject in BDE() to avoid segmentation fault when calling
	methods of BDE::none().
	* src/BDE.cc
pull/1/head
Tatsuhiro Tsujikawa 2009-12-20 09:38:39 +00:00
parent 0734dfa770
commit 7c12d43a42
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Assigned BObject in BDE() to avoid segmentation fault when calling
methods of BDE::none().
* src/BDE.cc
2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Show info hash in Magnet URI in upper case letters in -S output.

View File

@ -39,7 +39,7 @@ namespace aria2 {
const BDE BDE::none;
BDE::BDE():_type(TYPE_NONE) {}
BDE::BDE():_type(TYPE_NONE), _bobject(new BObject()) {}
BDE::BDE(Integer integer):_type(TYPE_INTEGER),
_bobject(new BInteger(integer)) {}