Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 10647:7d13c04387ad
[gaim-migrate @ 12163]
These got committed to oldstatus, but not to HEAD
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 02 Mar 2005 04:36:19 +0000 |
parents | d93621a98f12 |
children | 72a5babfa8b4 |
comparison
equal
deleted
inserted
replaced
10646:6a618db0a404 | 10647:7d13c04387ad |
---|---|
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 #ifdef _WIN32 | |
975 else | 976 else |
976 { | 977 { |
977 /* | 978 /* |
978 * Renaming file with .html extension, so that the | 979 * Renaming file with .html extension, so that the |
979 * win32 open_url will work. | 980 * win32 open_url will work. |
980 */ | 981 */ |
981 char *tmp; | 982 char *tmp; |
982 | 983 |
987 if (g_rename(session->passport_info.file, | 988 if (g_rename(session->passport_info.file, |
988 tmp) == 0) | 989 tmp) == 0) |
989 { | 990 { |
990 g_free(session->passport_info.file); | 991 g_free(session->passport_info.file); |
991 session->passport_info.file = tmp; | 992 session->passport_info.file = tmp; |
992 } | 993 } |
993 else | 994 else |
994 g_free(tmp); | 995 g_free(tmp); |
995 } | 996 } |
996 } | 997 } |
998 #endif | |
997 } | 999 } |
998 } | 1000 } |
999 /************************************************************************** | 1001 /************************************************************************** |
1000 * Switchboards | 1002 * Switchboards |
1001 **************************************************************************/ | 1003 **************************************************************************/ |