summaryrefslogtreecommitdiffstats
path: root/mbbsd/friend.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-13 00:05:11 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-13 00:05:11 +0800
commitef057a26d72d1ad6d0e43dd46749eb4748fcbefd (patch)
tree417c84c8645a2952ffcdf0efb75f0521a2b6fc45 /mbbsd/friend.c
parent91f340fbe073394db064cb97a88ccc95717d052a (diff)
downloadpttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.gz
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.bz2
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.lz
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.xz
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.zst
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.zip
avoid C++ keywords to make include files C++ friendly.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r--mbbsd/friend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c
index e313f026..bde8e78d 100644
--- a/mbbsd/friend.c
+++ b/mbbsd/friend.c
@@ -188,14 +188,14 @@ friend_delete(const char *uident, int type)
}
static void
-delete_user_friend(const char *uident, const char *friend, int type)
+delete_user_friend(const char *uident, const char *thefriend, int type)
{
char fn[80];
#if 0
if (type == FRIEND_ALOHA) {
#endif
sethomefile(fn, uident, "aloha");
- file_delete_line(fn, friend, 0);
+ file_delete_line(fn, thefriend, 0);
#if 0
}
else {
@@ -287,7 +287,7 @@ void friend_load(int type)
{
if (!type || type & FRIEND_OVERRIDE)
friend_load_real(1, MAX_FRIEND, &currutmp->nFriends,
- currutmp->friend, fn_overrides);
+ currutmp->myfriend, fn_overrides);
if (!type || type & FRIEND_REJECT)
friend_load_real(0, MAX_REJECT, NULL, currutmp->reject, fn_reject);