Mercurial > pidgin
changeset 9500:db95a6641ec1
[gaim-migrate @ 10327]
(12:02:41) javabsp: "For those people who actually care about MSN _AND_
system log, not that there are many..."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 10 Jul 2004 16:06:41 +0000 |
parents | b91aa8342584 |
children | d95e134da0ac |
files | src/log.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/log.c Sat Jul 10 15:48:17 2004 +0000 +++ b/src/log.c Sat Jul 10 16:06:41 2004 +0000 @@ -350,7 +350,10 @@ /* does this seem like a bad way to get this component of the path to anyone else? --Nathan */ prpl = GAIM_PLUGIN_PROTOCOL_INFO (gaim_find_prpl(gaim_account_get_protocol_id(account)))->list_icon(account, NULL); - path = g_build_filename(gaim_user_dir(), "logs", prpl, me, gaim_normalize(account, name), NULL); + if(type == GAIM_LOG_SYSTEM) + path = g_build_filename(gaim_user_dir(),"logs", prpl, me, name, NULL); + else + path = g_build_filename(gaim_user_dir(),"logs", prpl, me, gaim_normalize(account, name), NULL); g_free(me); if (!(dir = g_dir_open(path, 0, NULL))) {