# HG changeset patch # User Nathan Walp # Date 1069617765 0 # Node ID 62d11301b8a66e9ce4f4e660239b8cf66af9a775 # Parent 3ae88e96dde2db9676994037931991137d8864a9 [gaim-migrate @ 8237] make sure to show that last log from the old log format committer: Tailor Script diff -r 3ae88e96dde2 -r 62d11301b8a6 src/log.c --- 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; }