|
|
|
@ -2257,7 +2257,6 @@ int downloadmanager(const struct optstruct *opts, const char *hostname, const ch |
|
|
|
|
|
|
|
|
|
mirman_write("mirrors.dat", dbdir, &mdat); |
|
|
|
|
mirman_free(&mdat); |
|
|
|
|
cli_rmdirs(updtmpdir); |
|
|
|
|
|
|
|
|
|
/* custom dbs */ |
|
|
|
|
if((opt = optget(opts, "DatabaseCustomURL"))->enabled) { |
|
|
|
@ -2268,6 +2267,8 @@ int downloadmanager(const struct optstruct *opts, const char *hostname, const ch |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
cli_rmdirs(updtmpdir); |
|
|
|
|
|
|
|
|
|
if(updated) { |
|
|
|
|
if(optget(opts, "HTTPProxyServer")->enabled || !ipaddr[0]) { |
|
|
|
|
logg("Database updated (%d signatures) from %s\n", signo, hostname); |
|
|
|
|