diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 4 | ||||
-rw-r--r-- | include/proto.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 1b6826a7..fd81bec9 100644 --- a/include/common.h +++ b/include/common.h @@ -189,4 +189,8 @@ #define NOTREPLYING -1 #define REPLYING 0 #define RECVINREPLYING 1 + +#define LOG_CREAT 1 +#define LOG_VF 2 + #endif diff --git a/include/proto.h b/include/proto.h index e9b46dc9..c6731ad1 100644 --- a/include/proto.h +++ b/include/proto.h @@ -496,7 +496,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 *fn, int ifcreate, const char *fmt,...); +int log_file(char *fn, int flag, const char *fmt,...); void str_lower(char *t, char *s); int strstr_lower(char *str, char *tag); int cursor_key(int row, int column); |