s/err1/errx/.

http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673

Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2001-01-26 13:46:40 +00:00
parent 26474f4fe7
commit 7d55135d06
1 changed files with 2 additions and 2 deletions

View File

@ -424,7 +424,7 @@ hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("www.kame.net", "http", &hints, &res0);
if (error) {
err1(1, "%s", gai_strerror(error));
errx(1, "%s", gai_strerror(error));
/*NOTREACHED*/
}
s = -1;
@ -468,7 +468,7 @@ hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE;
error = getaddrinfo(NULL, "http", &hints, &res0);
if (error) {
err1(1, "%s", gai_strerror(error));
errx(1, "%s", gai_strerror(error));
/*NOTREACHED*/
}
nsock = 0;