summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-22 17:50:08 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-22 17:50:08 +0800
commit71202dcbdd8dc68a7ba663880b649020ac8aa53b (patch)
tree95401311320bab34b1fb1e1d14b37629d3c7d8f6 /mbbsd
parent7caeaab74f8bcfdee0cfe869b302a77efaadf6e9 (diff)
downloadpttbbs-71202dcbdd8dc68a7ba663880b649020ac8aa53b.tar
pttbbs-71202dcbdd8dc68a7ba663880b649020ac8aa53b.tar.gz
pttbbs-71202dcbdd8dc68a7ba663880b649020ac8aa53b.tar.bz2
pttbbs-71202dcbdd8dc68a7ba663880b649020ac8aa53b.tar.lz
pttbbs-71202dcbdd8dc68a7ba663880b649020ac8aa53b.tar.xz
pttbbs-71202dcbdd8dc68a7ba663880b649020ac8aa53b.tar.zst
pttbbs-71202dcbdd8dc68a7ba663880b649020ac8aa53b.zip
wrong ordering argument
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/cal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index 47227508..30e02166 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -202,7 +202,7 @@ osong(void)
if (strcmp(sender, cuser.userid) != 0)
dot = ".";
po[0] = 0;
- snprintf(genbuf, sizeof(genbuf), "%s%s%s%s", buf, sender, po + 7, dot);
+ snprintf(genbuf, sizeof(genbuf), "%s%s%s%s", buf, sender, dot, po + 7);
strlcpy(buf, genbuf, sizeof(buf));
}
while ((po = strstr(buf, "<~Des~>"))) {
@@ -228,7 +228,6 @@ osong(void)
if (nsongs > 500) {
delete_range(OSONGPATH "/.DIR", 1, nsongs - 500);
}
- // log elsewhere...
snprintf(genbuf, sizeof(genbuf), "%s says \"%s\" to %s.", sender, say, receiver);
log_usies("OSONG", genbuf);
/* §â²Ä¤@­º®³±¼ */