From 21d08814ca1068af206b31f5115710c14443bde0 Mon Sep 17 00:00:00 2001 From: Karl Lehenbauer Date: Tue, 12 Aug 2014 16:15:21 -0500 Subject: [PATCH] Make faup1090 failed-to-connect message more descriptive. BUGZID: --- faup1090.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faup1090.c b/faup1090.c index 7d1beda..09c121b 100644 --- a/faup1090.c +++ b/faup1090.c @@ -378,7 +378,7 @@ int main(int argc, char **argv) { faupInitNet(); if ((fd = anetTcpConnect (Modes.aneterr, faup1090.net_input_beast_ipaddr, Modes.net_input_beast_port)) == ANET_ERR) { - fprintf (stderr, "failed to connect to %s:%d\n", faup1090.net_input_beast_ipaddr, Modes.net_input_beast_port); + fprintf (stderr, "faup1090: failed to connect to %s:%d (is dump1090 running?)\n", faup1090.net_input_beast_ipaddr, Modes.net_input_beast_port); exit (1); }