From 7c766bf44d652f4f4ffad199c3fc556f82195d1f Mon Sep 17 00:00:00 2001 From: wens Date: Thu, 10 Apr 2008 04:17:08 +0000 Subject: Change tobind/toconnect interface. **OUTTACACHE is now UTMPD** git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- daemon/utmpd/utmpsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/utmpd/utmpsync.c') diff --git a/daemon/utmpd/utmpsync.c b/daemon/utmpd/utmpsync.c index 69d1c623..53f61ac0 100644 --- a/daemon/utmpd/utmpsync.c +++ b/daemon/utmpd/utmpsync.c @@ -8,7 +8,7 @@ int main(int argc, char **argv) { int sfd, index, i; attach_SHM(); - if( (sfd = toconnect(OUTTACACHEHOST, OUTTACACHEPORT)) < 0 ) { + if( (sfd = toconnect(UTMPD_ADDR)) < 0 ) { printf("connect fail\n"); return 1; } -- cgit v1.2.3