Mercurial > pidgin.yaz
changeset 7613:62d11301b8a6
[gaim-migrate @ 8237]
make sure to show that last log from the old log format
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 23 Nov 2003 20:02:45 +0000 |
parents | 3ae88e96dde2 |
children | 48d7eea88598 |
files | src/log.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }