diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-08 00:07:24 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-08 00:07:24 +0800 |
commit | 2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e (patch) | |
tree | eaaae2dd84f3741979fd00d6b4d46ca5705e3eba | |
parent | 4aab81aad26f5619e514dbb97419521fa96cc37f (diff) | |
download | pttbbs-2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e.tar pttbbs-2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e.tar.gz pttbbs-2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e.tar.bz2 pttbbs-2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e.tar.lz pttbbs-2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e.tar.xz pttbbs-2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e.tar.zst pttbbs-2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e.zip |
some debug codes were checked in accidentally in last patchset (r3136).
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/Makefile | 3 | ||||
-rw-r--r-- | mbbsd/bbs.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile index 3be108ad..a635cb48 100644 --- a/mbbsd/Makefile +++ b/mbbsd/Makefile @@ -21,7 +21,8 @@ OBJS= admin.o announce.o args.o assess.o bbs.o board.o cache.o cal.o card.o\ OBJS+= random.o time.o DIETCC= diet -Os .endif -CFLAGS+=-std=c99 +#CFLAGS+=-g +#CFLAGS+=-std=c99 # reduce .bss align overhead .if !defined(DEBUG) diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index fac9c21a..dad56f0a 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1173,8 +1173,6 @@ edit_post(int ent, fileheader_t * fhdr, const char *direct) fp = fopen(fpath, "at"); src = fopen(genbuf, "rt"); - FILE *xp = NULL; - if(!fp) { vmsg("©êºp¡AÀɮפw·l·´¡C"); |