summaryrefslogtreecommitdiffstats
path: root/mbbsd/brc.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-09-10 00:06:52 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-09-10 00:06:52 +0800
commit56e7ec2edacc18f3b323a35544dc577545eb24d4 (patch)
tree6ef013967bd762a48bfe0d003da51af614327600 /mbbsd/brc.c
parent428f0736872120d93a2820d5012908f1f0ab6944 (diff)
downloadpttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar
pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.gz
pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.bz2
pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.lz
pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.xz
pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.zst
pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.zip
use Signal instead of signal, and define the correct one in osdep.hvictor.solaris
fix compile error git-svn-id: http://opensvn.csie.org/pttbbs/branches/victor.solaris@2188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/brc.c')
-rw-r--r--mbbsd/brc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/brc.c b/mbbsd/brc.c
index 4233ea59..7bff2787 100644
--- a/mbbsd/brc.c
+++ b/mbbsd/brc.c
@@ -97,7 +97,7 @@ brc_find_record(int bid, int *num)
{
char *p;
brcnbrd_t tnum;
- ptr = brc_findrecord_in(brc_buf, brc_buf + brc_size, bid, &tnum);
+ p = brc_findrecord_in(brc_buf, brc_buf + brc_size, bid, &tnum);
*num = tnum;
if (p)
return (time_t*)(p + sizeof(brcbid_t) + sizeof(brcnbrd_t));