Mercurial > pidgin
changeset 7442:d42289ecf0ce
[gaim-migrate @ 8047]
argh. stupid windows.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 06 Nov 2003 01:41:03 +0000 |
parents | 4304bb369240 |
children | df50bd14e161 |
files | src/log.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/log.c Thu Nov 06 01:38:57 2003 +0000 +++ b/src/log.c Thu Nov 06 01:41:03 2003 +0000 @@ -62,16 +62,16 @@ { g_return_if_fail(log); g_return_if_fail(log->logger); - g_return_if_fail((log->logger->write)); + g_return_if_fail(log->logger->write); - log->logger->write(log, type, from, time, message); + (log->logger->write)(log, type, from, time, message); } char *gaim_log_read(GaimLog *log, GaimLogReadFlags *flags) { g_return_val_if_fail(log && log->logger, NULL); - if ((log->logger->read)) - return log->logger->read(log, flags); + if (log->logger->read) + return (log->logger->read)(log, flags); return (_("<b><font color\"=red\">The logger has no read function</font></b>")); }