diff --git a/bbs.c b/bbs.c index 758b69c..a749ee7 100644 --- a/bbs.c +++ b/bbs.c @@ -403,7 +403,7 @@ void disconnect(char *calledby) { void record_last10_callers(struct user_record *user) { struct last10_callers new_entry; - struct last10_callers callers[10]; + struct last10_callers callers[10]; int i,j; FILE *fptr = fopen("last10.dat", "rb"); @@ -445,6 +445,7 @@ void display_last10_callers(struct user_record *user) { int i,z; struct tm l10_time; FILE *fptr = fopen("last10.dat", "rb"); + time_t l10_timet; s_printf(get_string(2)); s_printf(get_string(3)); @@ -463,7 +464,8 @@ void display_last10_callers(struct user_record *user) { } for (z=0;z