# HG changeset patch # User Luke Schierer # Date 1089475601 0 # Node ID db95a6641ec132e615f5a22f16403a96e48fddbe # Parent b91aa83425842cadcf63d5995e688d39fcfa4094 [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 diff -r b91aa8342584 -r db95a6641ec1 src/log.c --- 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))) {