bugfix: initialize tor to NULL

This commit is contained in:
Pieter Wuille 2013-04-13 21:34:57 +02:00
parent 2f65b2adaa
commit 5df66a2212
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public:
const char *host; const char *host;
const char *tor; const char *tor;
CDnsSeedOpts() : nThreads(24), nDnsThreads(24), nPort(53), mbox(NULL), ns(NULL), host(NULL) {} CDnsSeedOpts() : nThreads(24), nDnsThreads(24), nPort(53), mbox(NULL), ns(NULL), host(NULL), tor(NULL) {}
void ParseCommandLine(int argc, char **argv) { void ParseCommandLine(int argc, char **argv) {
static const char *help = "Bitcoin-seeder\n" static const char *help = "Bitcoin-seeder\n"