aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2009-12-02 04:16:53 +0800
committerPaul Bolle <pebolle@tiscali.nl>2009-12-02 04:23:34 +0800
commite5883102e426d982875c8840347bdbb72db2f258 (patch)
tree7da6dab88aae5a999bb74fea12405709f2a921ca
parent8b434464f08f5f21a3d495e12e16a2a5b4fe9844 (diff)
downloadgsoc2013-evolution-e5883102e426d982875c8840347bdbb72db2f258.tar
gsoc2013-evolution-e5883102e426d982875c8840347bdbb72db2f258.tar.gz
gsoc2013-evolution-e5883102e426d982875c8840347bdbb72db2f258.tar.bz2
gsoc2013-evolution-e5883102e426d982875c8840347bdbb72db2f258.tar.lz
gsoc2013-evolution-e5883102e426d982875c8840347bdbb72db2f258.tar.xz
gsoc2013-evolution-e5883102e426d982875c8840347bdbb72db2f258.tar.zst
gsoc2013-evolution-e5883102e426d982875c8840347bdbb72db2f258.zip
Bug #603061 - Use .ics for temp vcalendar files
-rw-r--r--plugins/tnef-attachments/tnef-plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index f353d15366..f18b90b144 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -847,7 +847,7 @@ void saveVCalendar(TNEFStruct *tnef, const gchar *tmpdir) {
DDWORD ddword_val;
dtr thedate;
- sprintf(ifilename, "%s/calendar.vcf", tmpdir);
+ sprintf(ifilename, "%s/calendar.ics", tmpdir);
printf("%s\n", ifilename);
if ((fptr = fopen(ifilename, "wb"))==NULL) {
@@ -1110,7 +1110,7 @@ void saveVTask(TNEFStruct *tnef, const gchar *tmpdir) {
while (vl->data[index] == ' ')
vl->data[index--] = 0;
- sprintf(ifilename, "%s/%s.vcf", tmpdir, vl->data);
+ sprintf(ifilename, "%s/%s.ics", tmpdir, vl->data);
for (i=0; i<strlen(ifilename); i++)
if (ifilename[i] == ' ')
ifilename[i] = '_';