xconnect is non-conforming to "xfunc like libc" rule. Fixing

This commit is contained in:
Denis Vlasenko
2006-10-26 01:09:46 +00:00
parent 940b2e4b73
commit 1457915afc
6 changed files with 21 additions and 13 deletions

View File

@@ -585,7 +585,7 @@ static FILE *open_socket(struct sockaddr_in *s_in)
{
FILE *fp;
fp = fdopen(xconnect(s_in), "r+");
fp = fdopen(xconnect_tcp_v4(s_in), "r+");
if (fp == NULL)
bb_perror_msg_and_die("fdopen");