Merge pull request #33
f0c8b87
require e-mail address if dns is enabled (Pavel Vasin)
This commit is contained in:
commit
1a33b78801
1 changed files with 4 additions and 0 deletions
4
main.cpp
4
main.cpp
|
@ -421,6 +421,10 @@ int main(int argc, char **argv) {
|
|||
fprintf(stderr, "No hostname set. Please use -h.\n");
|
||||
exit(1);
|
||||
}
|
||||
if (fDNS && !opts.mbox) {
|
||||
fprintf(stderr, "No e-mail address set. Please use -m.\n");
|
||||
exit(1);
|
||||
}
|
||||
FILE *f = fopen("dnsseed.dat","r");
|
||||
if (f) {
|
||||
printf("Loading dnsseed.dat...");
|
||||
|
|
Loading…
Reference in a new issue