From: Stu T. <nos...@us...> - 2004-11-12 21:32:53
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14173 Modified Files: Tag: oldstatus log.c Log Message: Sneaky C99ism got in here Index: log.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/log.c,v retrieving revision 1.103.2.1 retrieving revision 1.103.2.2 diff -u -d -p -r1.103.2.1 -r1.103.2.2 --- log.c 11 Nov 2004 19:11:43 -0000 1.103.2.1 +++ log.c 12 Nov 2004 21:32:40 -0000 1.103.2.2 @@ -74,11 +74,12 @@ void gaim_log_free(GaimLog *log) void gaim_log_write(GaimLog *log, GaimMessageFlags type, const char *from, time_t time, const char *message) { + struct _gaim_logsize_user *lu; + g_return_if_fail(log); g_return_if_fail(log->logger); g_return_if_fail(log->logger->write); - struct _gaim_logsize_user *lu; (log->logger->write)(log, type, from, time, message); lu = g_new(struct _gaim_logsize_user, 1); |