diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-03-13 00:05:50 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-03-13 00:05:50 +0800 |
commit | c4b2bc6fb7cfed443c26457f9f1e302ea0309755 (patch) | |
tree | 95d655d1186e57838892afdb4dd47caae60bb65e | |
parent | ef057a26d72d1ad6d0e43dd46749eb4748fcbefd (diff) | |
download | pttbbs-c4b2bc6fb7cfed443c26457f9f1e302ea0309755.tar pttbbs-c4b2bc6fb7cfed443c26457f9f1e302ea0309755.tar.gz pttbbs-c4b2bc6fb7cfed443c26457f9f1e302ea0309755.tar.bz2 pttbbs-c4b2bc6fb7cfed443c26457f9f1e302ea0309755.tar.lz pttbbs-c4b2bc6fb7cfed443c26457f9f1e302ea0309755.tar.xz pttbbs-c4b2bc6fb7cfed443c26457f9f1e302ea0309755.tar.zst pttbbs-c4b2bc6fb7cfed443c26457f9f1e302ea0309755.zip |
avoid C++ keywords to make include files C++ friendly.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | cacheserver/utmpsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cacheserver/utmpsync.c b/cacheserver/utmpsync.c index 029df6b8..00c9f471 100644 --- a/cacheserver/utmpsync.c +++ b/cacheserver/utmpsync.c @@ -15,8 +15,8 @@ int main(int argc, char **argv) towrite(sfd, &index, sizeof(index)); for( i = 0 ; i < USHM_SIZE ; ++i ) if( towrite(sfd, &SHM->uinfo[i].uid, sizeof(SHM->uinfo[i].uid)) < 0 || - towrite(sfd, SHM->uinfo[i].friend, - sizeof(SHM->uinfo[i].friend)) < 0 || + towrite(sfd, SHM->uinfo[i].myfriend, + sizeof(SHM->uinfo[i].myfriend)) < 0 || towrite(sfd, SHM->uinfo[i].reject, sizeof(SHM->uinfo[i].reject)) < 0 ){ fprintf(stderr, "sync error %d\n", i); |