From dd19c6990496023fe23fefef8f1798740f7d39c6 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 31 Jan 2001 19:00:21 +0000 Subject: Removed trailing \n from error_msg{,_and_die} messages. --- nc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nc.c') diff --git a/nc.c b/nc.c index 7de4015ac..682da82bf 100644 --- a/nc.c +++ b/nc.c @@ -59,7 +59,7 @@ int nc_main(int argc, char **argv) perror_msg_and_die("socket"); if ((hostinfo = gethostbyname(*argv)) == NULL) - error_msg_and_die("cannot resolve %s\n", *argv); + error_msg_and_die("cannot resolve %s", *argv); address.sin_family = AF_INET; address.sin_addr = *(struct in_addr *) *hostinfo->h_addr_list; -- cgit v1.2.3