Mercurial > pidgin.yaz
comparison src/protocols/msn/notification.c @ 10629:d93621a98f12
[gaim-migrate @ 12106]
This was removed when changes were made to specify that the http:// handler should open the file. Judging by the number of bug reports, it is still necessary.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 23 Feb 2005 03:52:55 +0000 |
parents | 0f7452b1f777 |
children | 7d13c04387ad |
comparison
equal
deleted
inserted
replaced
10628:7283a335cf23 | 10629:d93621a98f12 |
---|---|
970 | 970 |
971 g_unlink(session->passport_info.file); | 971 g_unlink(session->passport_info.file); |
972 g_free(session->passport_info.file); | 972 g_free(session->passport_info.file); |
973 session->passport_info.file = NULL; | 973 session->passport_info.file = NULL; |
974 } | 974 } |
975 else | |
976 { | |
977 /* | |
978 * Renaming file with .html extension, so that the | |
979 * win32 open_url will work. | |
980 */ | |
981 char *tmp; | |
982 | |
983 if ((tmp = | |
984 g_strdup_printf("%s.html", | |
985 session->passport_info.file)) != NULL) | |
986 { | |
987 if (g_rename(session->passport_info.file, | |
988 tmp) == 0) | |
989 { | |
990 g_free(session->passport_info.file); | |
991 session->passport_info.file = tmp; | |
992 } | |
993 else | |
994 g_free(tmp); | |
995 } | |
996 } | |
975 } | 997 } |
976 } | 998 } |
977 /************************************************************************** | 999 /************************************************************************** |
978 * Switchboards | 1000 * Switchboards |
979 **************************************************************************/ | 1001 **************************************************************************/ |