summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-19 02:10:07 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-19 02:10:07 +0800
commit3d2d003e23d123cfa63f22dfc2d8753d8de5c383 (patch)
treea62fecb99b12cf21771d2c3d24f1d7de5dbbff45
parent2d0f49ba46d80eab5204a09ca188f233c5e13acd (diff)
downloadpttbbs-3d2d003e23d123cfa63f22dfc2d8753d8de5c383.tar
pttbbs-3d2d003e23d123cfa63f22dfc2d8753d8de5c383.tar.gz
pttbbs-3d2d003e23d123cfa63f22dfc2d8753d8de5c383.tar.bz2
pttbbs-3d2d003e23d123cfa63f22dfc2d8753d8de5c383.tar.lz
pttbbs-3d2d003e23d123cfa63f22dfc2d8753d8de5c383.tar.xz
pttbbs-3d2d003e23d123cfa63f22dfc2d8753d8de5c383.tar.zst
pttbbs-3d2d003e23d123cfa63f22dfc2d8753d8de5c383.zip
fix bug introduced in reversion 1.64
forget change pointer offset git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index bf7c6cab..44241fcc 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.77 2003/01/18 11:54:19 in2 Exp $ */
+/* $Id: board.c,v 1.78 2003/01/18 18:10:07 kcwu Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -354,7 +354,7 @@ save_brdbuf()
close(fd);
}
#ifdef MEM_CHECK
- free(&favbuf[-1]);
+ free(&favbuf[-sizeof(int)]);
#else
free(favbuf);
#endif