Sun, 23 Nov 2003 20:02:45 +0000
[gaim-migrate @ 8237]
make sure to show that last log from the old log format
| src/log.c | file | annotate | diff | comparison | revisions |
--- a/src/log.c Sun Nov 23 18:41:11 2003 +0000 +++ b/src/log.c Sun Nov 23 20:02:45 2003 +0000 @@ -744,6 +744,15 @@ } } + + if (data) { + data->length = ftell(file) - data->offset; + if (data->length != 0) + list = g_list_append(list, log); + else + gaim_log_free(log); + } + fclose(file); return list; }