Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 10240:95ca0db2d01d
[gaim-migrate @ 11377]
Removing trust parameter for gaim_notify_uri (see gaim-devel over past few
days). Removed URI scheme filtering for win32. Instead we'll allow what ever
the default http browser allows.
committer: Tailor Script <tailor@pidgin.im>
| author | Herman Bloggs <hermanator12002@yahoo.com> |
|---|---|
| date | Mon, 22 Nov 2004 22:13:12 +0000 |
| parents | ecf3ce2e2ab1 |
| children | 59b1fce24f60 |
comparison
equal
deleted
inserted
replaced
| 10239:d0558652e0c4 | 10240:95ca0db2d01d |
|---|---|
| 827 "Error closing temp passport file: %s\n", | 827 "Error closing temp passport file: %s\n", |
| 828 strerror(errno)); | 828 strerror(errno)); |
| 829 | 829 |
| 830 unlink(session->passport_info.file); | 830 unlink(session->passport_info.file); |
| 831 g_free(session->passport_info.file); | 831 g_free(session->passport_info.file); |
| 832 } | 832 session->passport_info.file = NULL; |
| 833 else | |
| 834 { | |
| 835 /* | |
| 836 * Renaming file with .html extension, so that the | |
| 837 * win32 open_url will work. | |
| 838 */ | |
| 839 char *tmp; | |
| 840 | |
| 841 if ((tmp = | |
| 842 g_strdup_printf("%s.html", session->passport_info.file)) | |
| 843 != NULL) | |
| 844 { | |
| 845 if (rename(session->passport_info.file, tmp) == 0) | |
| 846 { | |
| 847 g_free(session->passport_info.file); | |
| 848 session->passport_info.file = tmp; | |
| 849 } | |
| 850 else | |
| 851 g_free(tmp); | |
| 852 } | |
| 853 } | 833 } |
| 854 } | 834 } |
| 855 } | 835 } |
| 856 /************************************************************************** | 836 /************************************************************************** |
| 857 * Switchboards | 837 * Switchboards |
