Update of /cvsroot/gaim/gaim/src/protocols/msn
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7056/src/protocols/msn
Modified Files:
notification.c
Log Message:
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.
Index: notification.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/msn/notification.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -p -r1.122 -r1.123
--- notification.c 21 Nov 2004 17:48:09 -0000 1.122
+++ notification.c 22 Nov 2004 22:13:06 -0000 1.123
@@ -829,27 +829,7 @@ url_cmd(MsnCmdProc *cmdproc, MsnCommand
unlink(session->passport_info.file);
g_free(session->passport_info.file);
- }
- else
- {
- /*
- * Renaming file with .html extension, so that the
- * win32 open_url will work.
- */
- char *tmp;
-
- if ((tmp =
- g_strdup_printf("%s.html", session->passport_info.file))
- != NULL)
- {
- if (rename(session->passport_info.file, tmp) == 0)
- {
- g_free(session->passport_info.file);
- session->passport_info.file = tmp;
- }
- else
- g_free(tmp);
- }
+ session->passport_info.file = NULL;
}
}
}
|