# HG changeset patch # User Mark Doliner # Date 1055701331 0 # Node ID a156d08e481e8abad76a96cad20976fcf36e5571 # Parent c6f145ab28463d67a1283b640e3a256503ebd3a7 [gaim-migrate @ 6328] Groove is in the heart committer: Tailor Script diff -r c6f145ab2846 -r a156d08e481e src/log.c --- 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")) || diff -r c6f145ab2846 -r a156d08e481e src/protocols/oscar/oscar.c --- 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: {