Browse Source

bugfix: initialize tor to NULL

pull/1/head
Pieter Wuille 12 years ago
parent
commit
5df66a2212
  1. 2
      main.cpp

2
main.cpp

@ -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"

Loading…
Cancel
Save