Mercurial > pidgin.yaz
changeset 7441:4304bb369240
[gaim-migrate @ 8046]
SimGuy: like this?
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 06 Nov 2003 01:38:57 +0000 |
parents | 8c0527c91a92 |
children | d42289ecf0ce |
files | src/log.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/log.c Wed Nov 05 23:43:53 2003 +0000 +++ b/src/log.c Thu Nov 06 01:38:57 2003 +0000 @@ -62,7 +62,7 @@ { 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); } @@ -70,7 +70,7 @@ char *gaim_log_read(GaimLog *log, GaimLogReadFlags *flags) { g_return_val_if_fail(log && log->logger, NULL); - if (log->logger->read) + if ((log->logger->read)) return log->logger->read(log, flags); return (_("<b><font color\"=red\">The logger has no read function</font></b>")); }