Mercurial > pidgin
diff src/log.c @ 6695:0c5637b5462e
[gaim-migrate @ 7221]
This is contact support. Really.
It has a few bugs left in it, like sorting not working, and stuff like that,
but it's pretty solid for the most part.
I'm not in the mood to do a whole lot of typing, so just use and enjoy.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 02 Sep 2003 03:41:10 +0000 |
parents | 8f94cce8faa5 |
children | 9220c7490cd1 |
line wrap: on
line diff
--- a/src/log.c Tue Sep 02 03:34:37 2003 +0000 +++ b/src/log.c Tue Sep 02 03:41:10 2003 +0000 @@ -171,7 +171,7 @@ return fd; } -static FILE *open_system_log_file(char *name) +static FILE *open_system_log_file(const char *name) { int x; @@ -232,7 +232,7 @@ } void system_log(enum log_event what, GaimConnection *gc, - struct buddy *who, int why) + GaimBuddy *who, int why) { GaimAccount *account = NULL; FILE *fd; @@ -255,7 +255,7 @@ if (gaim_prefs_get_bool("/gaim/gtk/logging/individual_logs")) { if (why & OPT_LOG_MY_SIGNON) - fd = open_system_log_file(gc ? (char *)gaim_account_get_username(account) : NULL); + fd = open_system_log_file(gc ? gaim_account_get_username(account) : NULL); else fd = open_system_log_file(who->name); } else