Mercurial > pidgin
comparison src/log.c @ 8619:d4f6b9aa4cc8
[gaim-migrate @ 9370]
(01:38:34) khc: LSchiere:
http://kahing.ath.cx/software/gaim/syslog-jabber.diff
(01:38:39) khc: LSchiere: Strips the /
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Thu, 08 Apr 2004 05:26:35 +0000 |
| parents | 089a3400b2aa |
| children | 4aee5a47937d |
comparison
equal
deleted
inserted
replaced
| 8618:70aad91d9cb5 | 8619:d4f6b9aa4cc8 |
|---|---|
| 297 | 297 |
| 298 /* does this seem like a bad way to get this component of the path to anyone else? --Nathan */ | 298 /* does this seem like a bad way to get this component of the path to anyone else? --Nathan */ |
| 299 prpl = GAIM_PLUGIN_PROTOCOL_INFO | 299 prpl = GAIM_PLUGIN_PROTOCOL_INFO |
| 300 (gaim_find_prpl(gaim_account_get_protocol_id(account)))->list_icon(account, NULL); | 300 (gaim_find_prpl(gaim_account_get_protocol_id(account)))->list_icon(account, NULL); |
| 301 path = g_build_filename(gaim_user_dir(), "logs", prpl, me, gaim_normalize(account, screenname), NULL); | 301 path = g_build_filename(gaim_user_dir(), "logs", prpl, me, gaim_normalize(account, screenname), NULL); |
| 302 | |
| 303 g_free(me); | 302 g_free(me); |
| 304 | 303 |
| 305 if (!(dir = g_dir_open(path, 0, NULL))) { | 304 if (!(dir = g_dir_open(path, 0, NULL))) { |
| 306 g_free(path); | 305 g_free(path); |
| 307 return NULL; | 306 return NULL; |
