From 440a2643ed42f8be05450e0b00021d933f64e0b3 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 11 Sep 2005 03:51:16 +0000 Subject: moving forward! git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.automake@3154 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mbbsd/mbbsd.c') diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 83bdc709..595ba1a9 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1535,13 +1535,8 @@ daemon_login(int argc, char *argv[], char *envp[]) /* main loop */ while( 1 ){ len_of_sock_addr = sizeof(xsin); -#if defined(Solaris) && __OS_MAJOR_VERSION__ == 5 && __OS_MINOR_VERSION__ < 7 - if( (csock = accept(msock, (struct sockaddr *)&xsin, - &len_of_sock_addr)) < 0 ){ -#else if( (csock = accept(msock, (struct sockaddr *)&xsin, (socklen_t *)&len_of_sock_addr)) < 0 ){ -#endif if (errno != EINTR) sleep(1); continue; -- cgit v1.2.3