projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.29
[fms.git]
/
src
/
freenet
/
introductionpuzzleinserter.cpp
diff --git
a/src/freenet/introductionpuzzleinserter.cpp
b/src/freenet/introductionpuzzleinserter.cpp
index
089e4ac
..
000d973
100644
(file)
--- a/
src/freenet/introductionpuzzleinserter.cpp
+++ b/
src/freenet/introductionpuzzleinserter.cpp
@@
-17,12
+17,12
@@
#include <xmem.h>
\r
#endif
\r
\r
#include <xmem.h>
\r
#endif
\r
\r
-IntroductionPuzzleInserter::IntroductionPuzzleInserter(
):IIndexInserter<long>(
)
\r
+IntroductionPuzzleInserter::IntroductionPuzzleInserter(
SQLite3DB::DB *db):IIndexInserter<long>(db
)
\r
{
\r
Initialize();
\r
}
\r
\r
{
\r
Initialize();
\r
}
\r
\r
-IntroductionPuzzleInserter::IntroductionPuzzleInserter(
FCPv2::Connection *fcp):IIndexInserter<long>(
fcp)
\r
+IntroductionPuzzleInserter::IntroductionPuzzleInserter(
SQLite3DB::DB *db, FCPv2::Connection *fcp):IIndexInserter<long>(db,
fcp)
\r
{
\r
Initialize();
\r
}
\r
{
\r
Initialize();
\r
}
\r
@@
-224,7
+224,8
@@
const bool IntroductionPuzzleInserter::StartInsert(const long &localidentityid)
}
\r
}
\r
\r
}
\r
}
\r
\r
- Option::Instance()->Get("MessageBase",messagebase);
\r
+ Option option(m_db);
\r
+ option.Get("MessageBase",messagebase);
\r
\r
GenerateCaptcha(encodedpuzzle,solutionstring);
\r
if(encodedpuzzle.size()==0)
\r
\r
GenerateCaptcha(encodedpuzzle,solutionstring);
\r
if(encodedpuzzle.size()==0)
\r