forgot a function name change

This commit is contained in:
randomuser 2020-11-02 20:10:56 -06:00
parent 1dd3b7a810
commit b99ea96de3
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -100,7 +100,7 @@ int main(int argc, char **argv) {
bt = get_time(); bt = get_time();
signal(SIGINT, sighnd); signal(SIGINT, sighnd);
flgwt(); flgwt();
int t = timediff(getTime(), bt); int t = timediff(get_time(), bt);
struct session data = data_to_session(bt, t, argv[1]); struct session data = data_to_session(bt, t, argv[1]);
FILE *f = fopen(DATFILE, "a"); FILE *f = fopen(DATFILE, "a");
write_session(f, data); write_session(f, data);