diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 2 | ||||
-rw-r--r-- | include/pttstruct.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h index 6a540073..c14b9d34 100644 --- a/include/proto.h +++ b/include/proto.h @@ -434,7 +434,7 @@ int delete_file(char *dirname, int size, int ent, int (*filecheck)()); int delete_range(char *fpath, int id1, int id2); int apply_record(char *fpath, int (*fptr)(), int size); int search_rec(char* dirname, int (*filecheck)()); -int do_append(char *fpath, fileheader_t *record, int size); +int append_record_forward(char *fpath, fileheader_t *record, int size); int get_sum_records(char* fpath, int size); /* register */ diff --git a/include/pttstruct.h b/include/pttstruct.h index d8774f8b..d3d8083f 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -98,8 +98,8 @@ typedef struct userec_t { unsigned char badpost; /* 評價為壞文章數 */ unsigned char goodsale; /* 競標 好的評價 */ unsigned char badsale; /* 競標 壞的評價 */ - - char pad[67]; + char myangel[IDLEN+1]; /* 我的小天使 */ + char pad[54]; } userec_t; /* these are flags in userec_t.uflag */ #define PAGER_FLAG 0x4 /* true if pager was OFF last session */ |