equal
deleted
inserted
replaced
228 guint noeol; |
228 guint noeol; |
229 |
229 |
230 if (fgets(data, data_size-1, fp) == NULL) |
230 if (fgets(data, data_size-1, fp) == NULL) |
231 break; |
231 break; |
232 ln++; |
232 ln++; |
|
233 |
|
234 tail = data; |
233 |
235 |
234 while (!feof(fp)) { |
236 while (!feof(fp)) { |
235 for (tail = data; *tail; tail++) ; |
237 for (tail = data; *tail; tail++) ; |
236 if (tail == data) { |
238 if (tail == data) { |
237 // That would happen if the log file has NUL characters... |
239 // That would happen if the log file has NUL characters... |