die_err("Error opening log file");
for (size_t i = 0; !is_end(exps[i]); i++) {
size_t len = TIMESTAMP_LEN + 1 + strlen(exps[i].message);
die_err("Error opening log file");
for (size_t i = 0; !is_end(exps[i]); i++) {
size_t len = TIMESTAMP_LEN + 1 + strlen(exps[i].message);
char *buf = (char *)malloc(len + 2);
if (fgets(buf, len + 1, f) == NULL)
die("Error reading log file");
char *buf = (char *)malloc(len + 2);
if (fgets(buf, len + 1, f) == NULL)
die("Error reading log file");