[gaim-migrate @ 8237]

Sun, 23 Nov 2003 20:02:45 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Sun, 23 Nov 2003 20:02:45 +0000
changeset 7613
d5a283c09b1d
parent 7612
4f5211591dbd
child 7614
9f74fe38be23

[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;
 }

mercurial