diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-10 12:17:08 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-10 12:17:08 +0800 |
commit | 7c766bf44d652f4f4ffad199c3fc556f82195d1f (patch) | |
tree | af59791178a0c95d604038051fd24e8572adaeea /mbbsd/mbbsd.c | |
parent | 883bf638558fbc87bacccbf5ee2b065382337b4f (diff) | |
download | pttbbs-7c766bf44d652f4f4ffad199c3fc556f82195d1f.tar pttbbs-7c766bf44d652f4f4ffad199c3fc556f82195d1f.tar.gz pttbbs-7c766bf44d652f4f4ffad199c3fc556f82195d1f.tar.bz2 pttbbs-7c766bf44d652f4f4ffad199c3fc556f82195d1f.tar.lz pttbbs-7c766bf44d652f4f4ffad199c3fc556f82195d1f.tar.xz pttbbs-7c766bf44d652f4f4ffad199c3fc556f82195d1f.tar.zst pttbbs-7c766bf44d652f4f4ffad199c3fc556f82195d1f.zip |
Change tobind/toconnect interface.
**OUTTACACHE is now UTMPD**
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index a45c2705..13e8159c 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -962,7 +962,7 @@ setup_utmp(int mode) #ifdef FROMD { int fd; - if ( (fd = toconnect(FROMD_HOST, FROMD_PORT)) >= 0 ) { + if ( (fd = toconnect(FROMD_ADDR)) >= 0 ) { write(fd, fromhost, strlen(fromhost)); // uinfo.from is zerod, so we don't care about read length read(fd, uinfo.from, sizeof(uinfo.from)); |