Fix spelling error
-Erik
This commit is contained in:
parent
1638488d26
commit
a3de24e85d
@ -595,7 +595,7 @@ static struct in_addr getserver(char * host)
|
|||||||
struct hostent * he;
|
struct hostent * he;
|
||||||
if ((he = gethostbyname(host)) == NULL)
|
if ((he = gethostbyname(host)) == NULL)
|
||||||
{
|
{
|
||||||
fatalError("%s: Unkonwn host\n", host);
|
fatalError("%s: Unknown host\n", host);
|
||||||
}
|
}
|
||||||
memcpy(&addr, he->h_addr, sizeof addr);
|
memcpy(&addr, he->h_addr, sizeof addr);
|
||||||
|
|
||||||
|
2
telnet.c
2
telnet.c
@ -595,7 +595,7 @@ static struct in_addr getserver(char * host)
|
|||||||
struct hostent * he;
|
struct hostent * he;
|
||||||
if ((he = gethostbyname(host)) == NULL)
|
if ((he = gethostbyname(host)) == NULL)
|
||||||
{
|
{
|
||||||
fatalError("%s: Unkonwn host\n", host);
|
fatalError("%s: Unknown host\n", host);
|
||||||
}
|
}
|
||||||
memcpy(&addr, he->h_addr, sizeof addr);
|
memcpy(&addr, he->h_addr, sizeof addr);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user