Arreglo un error que hi havia processant files en blanc.
--- a/tt.c Fri Apr 01 10:06:32 2011 +0200
+++ b/tt.c Wed Apr 06 13:01:06 2011 +0200
@@ -263,7 +263,7 @@
prev_time_str = strdup(buf);
is_prev_time_read = 1;
}
- else if (n == 0) /* eof */
+ else if (feof(f))
{
/* Time until now, for the last switch */
int diff = get_current_time() - prev_time;