summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkovalkov <kovalkov@fastvps.ru>2019-01-31 13:50:09 +0300
committerMarco d'Itri <md@linux.it>2019-03-28 00:17:39 +0100
commita84db90864af6322a151438d7587ff665ba217b9 (patch)
treecc7cfaf38a8c2d0c45227ab98d5fd9fe889600de
parent6487b3640b6060107c298f49fda39270d6eda08b (diff)
downloadwhois-a84db90864af6322a151438d7587ff665ba217b9.tar.gz
Remove duplicate "Using server" line when a config file is used
-rw-r--r--whois.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/whois.c b/whois.c
index a784e8d..d9b6473 100644
--- a/whois.c
+++ b/whois.c
@@ -281,11 +281,8 @@ int main(int argc, char *argv[])
}
#ifdef CONFIG_FILE
- if (!server) {
+ if (!server)
server = match_config_file(qstring);
- if (verb && server)
- printf(_("Using server %s.\n"), server);
- }
#endif
if (!server)