From 923905e83ad2d075f0d40125e8acbd0ca88ea938 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 3 May 2004 15:19:01 +0000 Subject: in log_file(), use LOG_VF if need to vfprintf(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/admin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd/admin.c') diff --git a/mbbsd/admin.c b/mbbsd/admin.c index e828e3f3..c2a429f5 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1071,7 +1071,8 @@ scan_register_form(char *regfile, int automode, int neednum) strlcpy(muser.email, fdata[6], sizeof(muser.email)); strncpy(muser.justify, genbuf, REGLEN); sethomefile(buf, muser.userid, "justify"); - log_file(buf, 1, "%s:%s:%s\n", fdata[5], fdata[3], uid); + log_file(buf, LOG_CREAT | LOG_VF, + "%s:%s:%s\n", fdata[5], fdata[3], uid); passwd_update(unum, &muser); if ((fout = fopen(logfile, "a"))) { -- cgit v1.2.3