diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-12-07 19:48:42 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-12-07 19:48:42 +0800 |
commit | e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2 (patch) | |
tree | 6917e3ead4beec72534673b799b5e51add0a0519 /include | |
parent | f596ac6e290311dea6c2181816b7d096127696a8 (diff) | |
download | pttbbs-e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2.tar pttbbs-e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2.tar.gz pttbbs-e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2.tar.bz2 pttbbs-e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2.tar.lz pttbbs-e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2.tar.xz pttbbs-e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2.tar.zst pttbbs-e67dbfb410cb519dbd4ae3e0f3cd12aef46e48f2.zip |
use open() instead of fopen() in log_file()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h index 42940cd5..bbe7d787 100644 --- a/include/proto.h +++ b/include/proto.h @@ -475,7 +475,7 @@ void sethomepath(char *buf, char *userid); void sethomedir(char *buf, char *userid); char *Cdate(time_t *clock); void sethomefile(char *buf, char *userid, char *fname); -int log_file(char *filename,char *buf); +int log_file(char *filename, char *buf, int flags); void str_lower(char *t, char *s); int strstr_lower(char *str, char *tag); int cursor_key(int row, int column); |