summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-11 11:51:16 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-11 11:51:16 +0800
commit440a2643ed42f8be05450e0b00021d933f64e0b3 (patch)
treee689fda7ca76433967385e0423b84823f144b857 /mbbsd/mbbsd.c
parentfa5b233767ca9d4e012839c28eb13628d2ebba63 (diff)
downloadpttbbs-440a2643ed42f8be05450e0b00021d933f64e0b3.tar
pttbbs-440a2643ed42f8be05450e0b00021d933f64e0b3.tar.gz
pttbbs-440a2643ed42f8be05450e0b00021d933f64e0b3.tar.bz2
pttbbs-440a2643ed42f8be05450e0b00021d933f64e0b3.tar.lz
pttbbs-440a2643ed42f8be05450e0b00021d933f64e0b3.tar.xz
pttbbs-440a2643ed42f8be05450e0b00021d933f64e0b3.tar.zst
pttbbs-440a2643ed42f8be05450e0b00021d933f64e0b3.zip
moving forward!piaip.automake
git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.automake@3154 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c5
1 files changed, 0 insertions, 5 deletions
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;