1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Do not bind local socket

This commit is contained in:
Andrey A. Chernov 1998-01-24 22:08:44 +00:00
parent 5dc54a9a05
commit 16ef9cd73c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9431

View File

@ -0,0 +1,12 @@
*** webcopy.src.bak Sat Jun 8 20:42:14 1996
--- webcopy.src Sun Jan 25 01:04:21 1998
***************
*** 474,480 ****
}
socket(S,&PF_INET,&SOCK_STREAM,$local_prot) || die "$0: socket: $!\n"; #P4
socket(S,PF_INET,SOCK_STREAM,$local_prot) || die "$0: socket: $!\n"; #P5
- bind(S,$local_sock) || die "$0: bind: $!\n";
connect(S,$remote_sock) || return(901,"$!",0);
$_=select(S); $|=1; select($_);
if ($verbose>3) {
--- 474,479 ----