mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
Small fix for solaris (same as CYGWIN) as suggested by Robert Eckardt
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@56 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
3c3efc2791
commit
55df6bc79a
4 changed files with 21 additions and 14 deletions
|
|
@ -199,17 +199,20 @@ void do_daemon()
|
|||
|
||||
while (1==1)
|
||||
{
|
||||
#ifdef CYGWIN
|
||||
/* 2002/04/21
|
||||
*
|
||||
* Workaround a CYGWIN bug, see:
|
||||
* http://www.gnu.org/software/serveez/manual/BUGS
|
||||
* for bug #B0007
|
||||
*
|
||||
* -- Maniac
|
||||
*/
|
||||
client_len = sizeof( sa_cli );
|
||||
#endif /* CYGWIN */
|
||||
/* 2002/04/21
|
||||
*
|
||||
* Workaround a CYGWIN bug, see:
|
||||
* http://www.gnu.org/software/serveez/manual/BUGS
|
||||
* for bug #B0007
|
||||
*
|
||||
* 2004/06/23: Apparently Solaris needs this too, so
|
||||
* we'll do it by default, can't hurt
|
||||
*
|
||||
* -- Maniac
|
||||
*/
|
||||
|
||||
client_len = sizeof( sa_cli );
|
||||
|
||||
sd_client = accept( listen_sd,
|
||||
(struct sockaddr *)&sa_cli, &client_len );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue