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.17
[fms.git]
/
src
/
freenet
/
introductionpuzzleinserter.cpp
diff --git
a/src/freenet/introductionpuzzleinserter.cpp
b/src/freenet/introductionpuzzleinserter.cpp
index
60f7bb6
..
cac3879
100644
(file)
--- a/
src/freenet/introductionpuzzleinserter.cpp
+++ b/
src/freenet/introductionpuzzleinserter.cpp
@@
-87,8
+87,7
@@
void IntroductionPuzzleInserter::GenerateCaptcha(std::string &encodeddata, std::
}
\r
m_log->trace("IntroductionPuzzleInserter::GenerateCaptcha using alternate captcha generator");
\r
#else
\r
}
\r
m_log->trace("IntroductionPuzzleInserter::GenerateCaptcha using alternate captcha generator");
\r
#else
\r
- SimpleCaptcha captcha;
\r
- cap=&captcha;
\r
+ cap=new SimpleCaptcha();
\r
#endif
\r
std::vector<unsigned char> puzzle;
\r
std::vector<unsigned char> puzzlesolution;
\r
#endif
\r
std::vector<unsigned char> puzzle;
\r
std::vector<unsigned char> puzzlesolution;
\r