Mercurial > pidgin.yaz
changeset 5896:a156d08e481e
[gaim-migrate @ 6328]
Groove is in the heart
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 15 Jun 2003 18:22:11 +0000 |
parents | c6f145ab2846 |
children | e3733414ca08 |
files | src/log.c src/protocols/oscar/oscar.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/log.c Sun Jun 15 17:08:46 2003 +0000 +++ b/src/log.c Sun Jun 15 18:22:11 2003 +0000 @@ -278,11 +278,12 @@ void system_log(enum log_event what, GaimConnection *gc, struct buddy *who, int why) { - GaimAccount *account; + GaimAccount *account = NULL; FILE *fd; char text[256], html[256]; - account = gaim_connection_get_account(gc); + if (gc != NULL) + account = gaim_connection_get_account(gc); if ((why & OPT_LOG_MY_SIGNON && !gaim_prefs_get_bool("/gaim/gtk/logging/log_own_states")) ||
--- a/src/protocols/oscar/oscar.c Sun Jun 15 17:08:46 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jun 15 18:22:11 2003 +0000 @@ -5452,7 +5452,6 @@ va_start(ap, fr); type = va_arg(ap, int); -gaim_debug(GAIM_DEBUG_ERROR, "XXX", "got self icon info, type is 0x%04hx, flags is 0x%02hhx\n", type, flags); switch(type) { case 0x0000: case 0x0001: {