diff options
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r-- | mbbsd/announce.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 4d44ff15..663a9daa 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -911,10 +911,8 @@ a_menu(char *maintitle, char *path, int lastlevel) Fexit = 1; if (currstat == OSONG) { /* XXX: 只選歌未點歌可灌排行榜 */ - char buf[128]; - snprintf(buf, sizeof(buf), - "%s\n", fhdr->title); - log_file(FN_USSONG, buf, 1); + log_file(FN_USSONG, 1, + "%s\n", fhdr->title); } free(me.header); return FULLUPDATE; |