summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/bbs.c1
-rw-r--r--pttbbs/mbbsd/brc.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 6cc65804..faf6d580 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -1101,7 +1101,6 @@ log_crosspost_in_allpost(const char *brd, const fileheader_t *postfile) {
if (cp_IsHiddenBoard(getbcache(brd_id)))
return;
- syncnow();
memcpy(&fh, postfile, sizeof(fileheader_t));
fh.filemode = FILE_LOCAL;
fh.modified = now;
diff --git a/pttbbs/mbbsd/brc.c b/pttbbs/mbbsd/brc.c
index dac68964..bedb2e1a 100644
--- a/pttbbs/mbbsd/brc.c
+++ b/pttbbs/mbbsd/brc.c
@@ -299,8 +299,10 @@ load_remote_brc() {
while (conn_retries-- > 0 &&
(fd = toconnectex(BRCSTORED_ADDR, 5)) < 0) {
mvprints(b_lines, 0, (conn_retries == 0) ?
- "無法載入最新的看板已讀未讀資料, 將使用上次備份... (#%d)" :
- "正在同步看板已讀未讀資料,請稍候... (#%d)", conn_retries + 1);
+ ANSI_COLOR(1;31)
+ "無法載入最新的看板已讀未讀資料, 將使用上次備份... (#%d)"
+ ANSI_RESET: "正在同步看板已讀未讀資料,請稍候... (#%d)",
+ conn_retries + 1);
refresh();
sleep(1);
}