summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index a68b8e79..6cc65804 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -1168,7 +1168,7 @@ do_crosspost(const char *brd, fileheader_t *postfile, const char *fpath)
dbcs_safe_trim_title(fh.title + strlen(fh.title), title, len);
snprintf(fh.title + strlen(fh.title), sizeof(fh.title) - strlen(fh.title),
".%sªO", currboard);
- if (dashs(genbuf)) {
+ if (dashs(genbuf) > 0) {
log_filef("log/conflict.log", LOG_CREAT,
"%s %s->%s %s: %s\n", Cdatelite(&now),
currboard, brd, fh.filename, fh.title);