aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar
diff options
context:
space:
mode:
authorPhilip Van Hoof <pvanhoof@src.gnome.org>2005-03-03 00:00:26 +0800
committerPhilip Van Hoof <pvanhoof@src.gnome.org>2005-03-03 00:00:26 +0800
commit39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6 (patch)
treec4ca040361f875cac3cf455fbe6c56a46a6531de /plugins/save-calendar
parent43f8824655767ffa75a94114be9e893353464cf3 (diff)
downloadgsoc2013-evolution-39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6.tar
gsoc2013-evolution-39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6.tar.gz
gsoc2013-evolution-39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6.tar.bz2
gsoc2013-evolution-39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6.tar.lz
gsoc2013-evolution-39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6.tar.xz
gsoc2013-evolution-39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6.tar.zst
gsoc2013-evolution-39545a5a7c9ea4d1493cd94abbd6e54ecd76f8b6.zip
Corrected a little oeps
svn path=/trunk/; revision=28938
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r--plugins/save-calendar/csv-format.c2
-rw-r--r--plugins/save-calendar/rdf-format.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index e414571af8..1d9cf8ce67 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -161,7 +161,7 @@ add_time_to_csv (GString *line, icaltimetype *time, CsvConfig *config)
if (time) {
gboolean needquotes = FALSE;
struct tm mytm = icaltimetype_to_tm (time);
- gchar *str = (char*) g_malloc (sizeof (char) * 200);
+ gchar *str = (gchar*) g_malloc (sizeof (gchar) * 200);
/*
* Translator: the %F %T is the thirth argument for a strftime function.
diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c
index 268b17798a..1f120b46a4 100644
--- a/plugins/save-calendar/rdf-format.c
+++ b/plugins/save-calendar/rdf-format.c
@@ -146,7 +146,7 @@ add_time_to_rdf (xmlNodePtr node, const gchar *tag, icaltimetype *time)
if (time) {
xmlNodePtr cur_node = NULL;
struct tm mytm = icaltimetype_to_tm (time);
- gchar *str = (gchar*) g_malloc (sizeof (char) * 200);
+ gchar *str = (gchar*) g_malloc (sizeof (gchar) * 200);
gchar *tmp = NULL;
/*