mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
workaround for broken getsockname() in FTP proxy
This commit is contained in:
1 parent
ccbc94e06b
commit
8cdf341d0e
2 files changed
+16
-3
No files matched your search
+1
-1
@@ -694,8 +694,8 @@ int doconnect(struct clientparam * param){
|
||||
#else
|
||||
fcntl(param->remsock,F_SETFL,O_NONBLOCK);
|
||||
#endif
|
||||
size = sizeof(param->sinsl);
|
||||
}
|
||||
size = sizeof(param->sinsl);
|
||||
if(so._getsockname(param->remsock, (struct sockaddr *)¶m->sinsl, &size)==-1) {return (15);}
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user