diff options
author | Matt Kraai <kraai@debian.org> | 2001-01-31 19:00:21 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-01-31 19:00:21 +0000 |
commit | dd19c6990496023fe23fefef8f1798740f7d39c6 (patch) | |
tree | 3933adefa4171173db78fa2389146ac89f4edb86 /telnet.c | |
parent | 63ec2732454a0c973305794e185e488106f6b282 (diff) | |
download | busybox-w32-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.gz busybox-w32-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.bz2 busybox-w32-dd19c6990496023fe23fefef8f1798740f7d39c6.zip |
Removed trailing \n from error_msg{,_and_die} messages.
Diffstat (limited to 'telnet.c')
-rw-r--r-- | telnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -584,7 +584,7 @@ static int getport(char * p) | |||
584 | 584 | ||
585 | if ((unsigned)(port - 1 ) > 65534) | 585 | if ((unsigned)(port - 1 ) > 65534) |
586 | { | 586 | { |
587 | error_msg_and_die("%s: bad port number\n", p); | 587 | error_msg_and_die("%s: bad port number", p); |
588 | } | 588 | } |
589 | return port; | 589 | return port; |
590 | } | 590 | } |
@@ -596,7 +596,7 @@ static struct in_addr getserver(char * host) | |||
596 | struct hostent * he; | 596 | struct hostent * he; |
597 | if ((he = gethostbyname(host)) == NULL) | 597 | if ((he = gethostbyname(host)) == NULL) |
598 | { | 598 | { |
599 | error_msg_and_die("%s: Unknown host\n", host); | 599 | error_msg_and_die("%s: Unknown host", host); |
600 | } | 600 | } |
601 | memcpy(&addr, he->h_addr, sizeof addr); | 601 | memcpy(&addr, he->h_addr, sizeof addr); |
602 | 602 | ||